1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:40:05 +08:00

Fix doc for lint on the fly

This commit is contained in:
wsdjeg 2017-04-08 23:54:44 +08:00
parent a845ba7dd5
commit 6a94a40a94
3 changed files with 13 additions and 1 deletions

View File

@ -270,6 +270,12 @@ let g:spacevim_enable_powerline_fonts = 1
" <
let g:spacevim_lint_on_save = 1
""
" Enable/Disable lint on the fly feature of SpaceVim's maker. Default is 0.
" >
" let g:spacevim_lint_on_the_fly = 0
" <
let g:spacevim_lint_on_the_fly = 0
""
" Enable/Disable vimfiler in the welcome windows. Default is 1.
" This will cause vim to start up slowly if there are too many files in the
" current directory.

View File

@ -8,7 +8,7 @@ if empty(maparg('<leader>ck', '',0,1))
nnoremap <silent> <Leader>ck :Neomake<CR>
endif
if get(g:, 'spacevim_lint_on_the_fly', 0) || 1
if get(g:, 'spacevim_lint_on_the_fly', 0)
let g:neomake_tempfile_enabled = 1
let g:neomake_open_list = 0
augroup Neomake_on_the_fly

View File

@ -293,6 +293,12 @@ Enable/Disable lint on save feature of SpaceVim's maker. Default is 1.
let g:spacevim_lint_on_save = 0
<
*g:spacevim_lint_on_the_fly*
Enable/Disable lint on the fly feature of SpaceVim's maker. Default is 0.
>
let g:spacevim_lint_on_the_fly = 0
<
*g:spacevim_enable_vimfiler_welcome*
Enable/Disable vimfiler in the welcome windows. Default is 1. This will cause
vim to start up slowly if there are too many files in the current directory.