diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2022-10-14 17:40:10 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2022-10-14 17:40:10 +0200 |
commit | bc8a81d3592dab86334f27d1d43c080ebf680d42 (patch) | |
tree | f367857d8c196d36f2d6dec3c2f6c9d703b06b7c /ftplugin/julia.vim | |
parent | 38282d58387cff48ac203f6912c05e4c8686141b (diff) | |
download | vim-polyglot-bc8a81d3592dab86334f27d1d43c080ebf680d42.tar.gz vim-polyglot-bc8a81d3592dab86334f27d1d43c080ebf680d42.zip |
Update
Diffstat (limited to 'ftplugin/julia.vim')
-rw-r--r-- | ftplugin/julia.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ftplugin/julia.vim b/ftplugin/julia.vim index e33b1a42..de983466 100644 --- a/ftplugin/julia.vim +++ b/ftplugin/julia.vim @@ -26,10 +26,16 @@ setlocal fo-=t fo+=croql let b:julia_vim_loaded = 1 let b:undo_ftplugin = "setlocal include< suffixesadd< comments< commentstring<" + \ . " expandtab< shiftwidth<" \ . " define< fo< indentexpr< indentkeys< cinoptions< completefunc<" \ . " | unlet! b:commentary_format" \ . " | unlet! b:smartcomment_force_linemode" \ . " | unlet! b:julia_vim_loaded" + +if !exists("g:julia_set_indentation") || g:julia_set_indentation != 0 + " As suggested by Style Guide. + setlocal expandtab shiftwidth=4 +endif " MatchIt plugin support if exists("loaded_matchit") |