diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-03-02 00:34:02 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-03-02 00:34:02 +0100 |
commit | 6b540d7db030e4110aa3a31dd06c6c41387444db (patch) | |
tree | 1cd1da5b35cf1c34b38d7506ff93aabf861747bf /autoload/julia.vim | |
parent | 35ea4d2b9072594b6c0ccf87bde7978ed9f94755 (diff) | |
download | vim-polyglot-6b540d7db030e4110aa3a31dd06c6c41387444db.tar.gz vim-polyglot-6b540d7db030e4110aa3a31dd06c6c41387444db.zip |
Update
Diffstat (limited to 'autoload/julia.vim')
-rw-r--r-- | autoload/julia.vim | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/autoload/julia.vim b/autoload/julia.vim index 6bb70dce..9442f611 100644 --- a/autoload/julia.vim +++ b/autoload/julia.vim @@ -1,30 +1,11 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'julia') == -1 function! julia#set_syntax_version(jvers) - if &filetype != "julia" - echo "Not a Julia file" - return - endif - syntax clear - let b:julia_syntax_version = a:jvers - set filetype=julia + echo "The julia#set_syntax_version function is deprecated" endfunction function! julia#toggle_deprecated_syntax() - if &filetype != "julia" - echo "Not a Julia file" - return - endif - syntax clear - let hd = get(b:, "julia_syntax_highlight_deprecated", - \ get(g:, "julia_syntax_highlight_deprecated", 0)) - let b:julia_syntax_highlight_deprecated = hd ? 0 : 1 - set filetype=julia - if b:julia_syntax_highlight_deprecated - echo "Highlighting of deprecated syntax enabled" - else - echo "Highlighting of deprecated syntax disabled" - endif + echo "The julia#toggle_deprecated_syntax function is deprecated" endfunction if exists("loaded_matchit") |