Skip to content

Commit 0670659

Browse files
Yu Zhaicarlobaldassi
authored andcommitted
modify setting variable name
1 parent a85cf04 commit 0670659

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/julia-vim.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -470,13 +470,13 @@ g:julia_indent_align_funcargs
470470
# function body
471471
end
472472
<
473-
*g:julia_recommended_style*
474-
g:julia_recommended_style
473+
*g:julia_set_indentation*
474+
g:julia_set_indentation
475475

476476
In Julia manual, it is recommended to use 4 spaces to indent
477477
Julia source files.
478478
By default, the 4-space indentation style is applied.
479-
Set `g:julia_recommended_style` to `0` to disable this feature.
479+
Set `g:julia_set_indentation` to `0` to disable this feature.
480480
==============================================================================
481481
EXTRA SYNTAX COLORS *julia-vim-extra-colors*
482482

ftplugin/julia.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ let b:undo_ftplugin = "setlocal include< suffixesadd< comments< commentstring<"
2828
\ . " | unlet! b:smartcomment_force_linemode"
2929
\ . " | unlet! b:julia_vim_loaded"
3030

31-
if !exists("g:julia_recommended_style") || g:julia_recommended_style != 0
31+
if !exists("g:julia_set_indentation") || g:julia_set_indentation != 0
3232
" As suggested by Style Guide.
3333
setlocal expandtab shiftwidth=4
3434
endif

0 commit comments

Comments
 (0)