mirror of
https://github.com/tomru/DotfilesOld.git
synced 2026-03-03 06:27:21 +01:00
change initial foldlevel and add eslint to ale fixers
This commit is contained in:
committed by
Thomas Ruoff
parent
a214ab4c65
commit
b23d9fe9be
5
vimrc
5
vimrc
@@ -132,7 +132,7 @@ set nojoinspaces
|
||||
|
||||
" Folding {{{
|
||||
set foldmethod=indent
|
||||
set foldlevelstart=5
|
||||
set nofoldenable
|
||||
" }}}
|
||||
|
||||
" Diff settings {{{
|
||||
@@ -294,6 +294,9 @@ map <Leader>t :MBEToggle<cr>
|
||||
"" ale
|
||||
nmap <silent> <C-k> <Plug>(ale_previous_wrap)
|
||||
nmap <silent> <C-j> <Plug>(ale_next_wrap)
|
||||
let g:ale_fixers = {
|
||||
\ 'javascript': ['eslint'],
|
||||
\}
|
||||
|
||||
"" lightline
|
||||
if filereadable(expand("~/.vim/lightline.vim"))
|
||||
|
||||
Reference in New Issue
Block a user