|
|
@ -32,18 +32,20 @@ xmap <C-j> <Plug>(neosnippet_expand_target)
|
|
|
|
|
|
|
|
|
|
|
|
" ale
|
|
|
|
" ale
|
|
|
|
let g:ale_lint_on_save=1
|
|
|
|
let g:ale_lint_on_save=1
|
|
|
|
let g:ale_lint_on_text_changed='never'
|
|
|
|
let g:ale_lint_on_text_changed=0
|
|
|
|
let g:ale_lint_on_insert_leave=0
|
|
|
|
let g:ale_lint_on_insert_leave=0
|
|
|
|
let g:ale_lint_on_enter=1
|
|
|
|
let g:ale_lint_on_enter=1
|
|
|
|
|
|
|
|
let g:ale_linters_explicit=1
|
|
|
|
|
|
|
|
let g:ale_fix_on_save=0
|
|
|
|
let g:ale_linters = {
|
|
|
|
let g:ale_linters = {
|
|
|
|
\ 'css': [],
|
|
|
|
\ 'css': ['stylelint'],
|
|
|
|
\ 'html': ['htmlhint'],
|
|
|
|
\ 'html': ['htmllint'],
|
|
|
|
\ 'javascript': ['eslint'],
|
|
|
|
\ 'javascript': ['eslint'],
|
|
|
|
\ 'javascriptreact': ['eslint'],
|
|
|
|
\ 'javascriptreact': ['eslint'],
|
|
|
|
\ 'json': ['jsonlint'],
|
|
|
|
\ 'json': ['jsonlint'],
|
|
|
|
\ 'jsx': ['eslint'],
|
|
|
|
\ 'jsx': ['eslint'],
|
|
|
|
\ 'php': ['php'],
|
|
|
|
\ 'php': ['php'],
|
|
|
|
\ 'scss': ['sasslint'],
|
|
|
|
\ 'scss': ['stylelint'],
|
|
|
|
\ 'typescript': ['tslint'],
|
|
|
|
\ 'typescript': ['tslint'],
|
|
|
|
\}
|
|
|
|
\}
|
|
|
|
let g:ale_fixers = {
|
|
|
|
let g:ale_fixers = {
|
|
|
@ -57,8 +59,6 @@ let g:ale_fixers = {
|
|
|
|
\ 'typescript': ['prettier'],
|
|
|
|
\ 'typescript': ['prettier'],
|
|
|
|
\ 'yaml': ['prettier'],
|
|
|
|
\ 'yaml': ['prettier'],
|
|
|
|
\}
|
|
|
|
\}
|
|
|
|
let g:ale_linters_explicit = 1
|
|
|
|
|
|
|
|
let g:ale_fix_on_save = 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
" fzf
|
|
|
|
" fzf
|
|
|
|
nnoremap <silent> <space>, :Files<cr>
|
|
|
|
nnoremap <silent> <space>, :Files<cr>
|
|
|
|