mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:00:04 +08:00
Fix unknown func
This commit is contained in:
parent
799317cc2f
commit
2e47338c5d
@ -1,4 +1,16 @@
|
||||
scriptencoding utf-8
|
||||
let s:neomake_automake_events = {}
|
||||
if get(g:, 'spacevim_lint_on_save', 0)
|
||||
let s:neomake_automake_events['BufWritePost'] = {'delay': 0}
|
||||
endif
|
||||
|
||||
if get(g:, 'spacevim_lint_on_the_fly', 0)
|
||||
let s:neomake_automake_events['TextChanged'] = {'delay': 750}
|
||||
endif
|
||||
|
||||
if !empty(s:neomake_automake_events)
|
||||
call neomake#configure#automake(s:neomake_automake_events)
|
||||
endif
|
||||
" 1 open list and move cursor 2 open list without move cursor
|
||||
let g:neomake_open_list = get(g:, 'neomake_open_list', 2)
|
||||
let g:neomake_verbose = get(g:, 'neomake_verbose', 0)
|
||||
|
@ -1,12 +0,0 @@
|
||||
let s:neomake_automake_events = {}
|
||||
if get(g:, 'spacevim_lint_on_save', 0)
|
||||
let s:neomake_automake_events['BufWritePost'] = {'delay': 0}
|
||||
endif
|
||||
|
||||
if get(g:, 'spacevim_lint_on_the_fly', 0)
|
||||
let s:neomake_automake_events['TextChanged'] = {'delay': 750}
|
||||
endif
|
||||
|
||||
if !empty(s:neomake_automake_events)
|
||||
call neomake#configure#automake(s:neomake_automake_events)
|
||||
endif
|
Loading…
Reference in New Issue
Block a user