Update js and ts in ale conf
This commit is contained in:
parent
f2a0e722a6
commit
777215e213
|
@ -10,7 +10,9 @@ let g:ale_elixir_elixir_ls_release = '/usr/lib/elixir-ls/'
|
||||||
|
|
||||||
let g:ale_linters = {
|
let g:ale_linters = {
|
||||||
\ 'javascript': ['eslint'],
|
\ 'javascript': ['eslint'],
|
||||||
|
\ 'javascriptreact': ['eslint'],
|
||||||
\ 'typescript': ['tsserver', 'tslint'],
|
\ 'typescript': ['tsserver', 'tslint'],
|
||||||
|
\ 'typescriptreact': ['tsserver', 'tslint'],
|
||||||
\ 'python': ['pyls', 'pylint'],
|
\ 'python': ['pyls', 'pylint'],
|
||||||
\ 'rust': ['rls'],
|
\ 'rust': ['rls'],
|
||||||
\ 'elixir': ['elixir-ls'],
|
\ 'elixir': ['elixir-ls'],
|
||||||
|
@ -20,11 +22,14 @@ let g:ale_linters = {
|
||||||
\ 'vala': ['vala-language-server'],
|
\ 'vala': ['vala-language-server'],
|
||||||
\ 'scss': ['eslint'],
|
\ 'scss': ['eslint'],
|
||||||
\ 'elm': ['elm_ls'],
|
\ 'elm': ['elm_ls'],
|
||||||
|
\ 'sql': ['sql-lint'],
|
||||||
\}
|
\}
|
||||||
|
|
||||||
let g:ale_fixers = {
|
let g:ale_fixers = {
|
||||||
\ 'javascript': ['prettier'],
|
\ 'javascript': ['prettier'],
|
||||||
\ 'typescript': ['prettier'],
|
\ 'typescript': ['prettier'],
|
||||||
|
\ 'javascriptreact': ['prettier'],
|
||||||
|
\ 'typescriptreact': ['prettier'],
|
||||||
\ 'python': ['black', 'pyls'],
|
\ 'python': ['black', 'pyls'],
|
||||||
\ 'rust': ['rustfmt'],
|
\ 'rust': ['rustfmt'],
|
||||||
\ 'elixir': ['mix_format'],
|
\ 'elixir': ['mix_format'],
|
||||||
|
@ -81,7 +86,7 @@ let g:ale_go_langserver_executable = 'gopls'
|
||||||
|
|
||||||
let g:airline#extensions#ale#enabled = 1
|
let g:airline#extensions#ale#enabled = 1
|
||||||
|
|
||||||
let g:ale_completion_enabled = 0
|
" let g:ale_completion_enabled = 1
|
||||||
let g:ale_lint_on_enter = 0
|
let g:ale_lint_on_enter = 0
|
||||||
let g:ale_lint_on_text_changed = 'never'
|
let g:ale_lint_on_text_changed = 'never'
|
||||||
highlight ALEErrorSign ctermbg=NONE ctermfg=red
|
highlight ALEErrorSign ctermbg=NONE ctermfg=red
|
||||||
|
@ -90,3 +95,9 @@ let g:ale_linters_explicit = 1
|
||||||
let g:ale_lint_on_save = 1
|
let g:ale_lint_on_save = 1
|
||||||
let g:ale_fix_on_save = 1
|
let g:ale_fix_on_save = 1
|
||||||
|
|
||||||
|
" let g:ale_set_balloons = 1
|
||||||
|
let g:ale_hover_to_preview = 1
|
||||||
|
let g:ale_float_preview = 1
|
||||||
|
let g:ale_floating_window_border = ['│', '─', '╭', '╮', '╯', '╰']
|
||||||
|
|
||||||
|
packloadall
|
||||||
|
|
Loading…
Reference in New Issue
Block a user