diff options
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") |