File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -22,15 +22,15 @@ setlocal fo-=t fo+=croql
22
22
let b: julia_vim_loaded = 1
23
23
24
24
let b: undo_ftplugin = " setlocal include< suffixesadd< comments< commentstring<"
25
- \ . " expandtab< shiftwidth<"
26
- \ . " define< fo< indentexpr< indentkeys< cinoptions< completefunc<"
25
+ \ . " define< fo< cinoptions< completefunc<"
27
26
\ . " | unlet! b:commentary_format"
28
27
\ . " | unlet! b:smartcomment_force_linemode"
29
28
\ . " | unlet! b:julia_vim_loaded"
30
-
29
+
31
30
if ! exists (" g:julia_set_indentation" ) || g: julia_set_indentation != 0
32
31
" As suggested by Style Guide.
33
32
setlocal expandtab shiftwidth = 4
33
+ let b: undo_ftplugin .= " | setlocal expandtab< shiftwidth<"
34
34
endif
35
35
36
36
" MatchIt plugin support
@@ -105,7 +105,7 @@ let b:smartcomment_force_linemode = 1 " for carlobaldassi/vim-smartcomment
105
105
106
106
if has (" gui_win32" )
107
107
let b: browsefilter = " Julia Source Files (*.jl)\t *.jl\n "
108
- let b: undo_ftplugin = b: undo_ftplugin . " | unlet! b:browsefilter"
108
+ let b: undo_ftplugin .= " | unlet! b:browsefilter"
109
109
endif
110
110
111
111
" Lookup documents
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ setlocal indentkeys-=0{
14
14
setlocal indentkeys -= 0 }
15
15
setlocal nosmartindent
16
16
17
- let b: undo_indent = " setl ai< inde< indk< si <"
17
+ let b: undo_indent = " setlocal autoindent< indentexpr< indentkeys< smartindent <"
18
18
19
19
" Only define the function once.
20
20
if exists (" *GetJuliaIndent" )
You can’t perform that action at this time.
0 commit comments