From bc8a81d3592dab86334f27d1d43c080ebf680d42 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Fri, 14 Oct 2022 17:40:10 +0200 Subject: Update --- ftplugin/julia.vim | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ftplugin/julia.vim') 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") -- cgit v1.2.3