diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2022-02-21 00:04:43 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2022-02-21 00:04:43 +0100 |
commit | 1d1f36b24ea601eb950865982e05b875aa702330 (patch) | |
tree | 94b9af10f5801fb3711088ee4f879e6995ae73c9 /ftplugin | |
parent | b77c5f11070ecb2ff343aa18b4ea859e6168f16c (diff) | |
download | vim-polyglot-4.17.1.tar.gz vim-polyglot-4.17.1.zip |
Use old version of vim repository, fixes #779v4.17.1
closes #780
Diffstat (limited to '')
-rw-r--r-- | ftplugin/crystal.vim | 2 | ||||
-rw-r--r-- | ftplugin/julia.vim | 2 | ||||
-rw-r--r-- | ftplugin/plantuml.vim | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/ftplugin/crystal.vim b/ftplugin/crystal.vim index 3d0887b6..2e6a96fc 100644 --- a/ftplugin/crystal.vim +++ b/ftplugin/crystal.vim @@ -53,7 +53,7 @@ if get(g:, 'crystal_define_mappings', 1) nmap <buffer>gsc <Plug>(crystal-spec-run-current) endif -if &l:ofu ==# '' +if &l:ofu ==# '' && get(g:, 'crystal_enable_completion', 1) setlocal omnifunc=crystal_lang#complete endif diff --git a/ftplugin/julia.vim b/ftplugin/julia.vim index dd84aa70..1213c6b7 100644 --- a/ftplugin/julia.vim +++ b/ftplugin/julia.vim @@ -26,7 +26,7 @@ setlocal fo-=t fo+=croql let b:julia_vim_loaded = 1 let b:undo_ftplugin = "setlocal include< suffixesadd< comments< commentstring<" - \ . " define< fo< shiftwidth< expandtab< indentexpr< indentkeys< cinoptions< completefunc<" + \ . " define< fo< indentexpr< indentkeys< cinoptions< completefunc<" \ . " | unlet! b:commentary_format" \ . " | unlet! b:smartcomment_force_linemode" \ . " | unlet! b:julia_vim_loaded" diff --git a/ftplugin/plantuml.vim b/ftplugin/plantuml.vim index 5d59c507..08855951 100644 --- a/ftplugin/plantuml.vim +++ b/ftplugin/plantuml.vim @@ -2,7 +2,6 @@ if polyglot#init#is_disabled(expand('<sfile>:p'), 'plantuml', 'ftplugin/plantuml finish endif -scriptencoding utf-8 " Vim filetype plugin file " Language: PlantUML " License: VIM LICENSE |