Skip to content

Commit

Permalink
Configure ale to support code completion with tsserver
Browse files Browse the repository at this point in the history
Due to a bug in tslint, fixing should happen on the command line. For
linting using tsserver is more robust.

See dense-analysis/ale#1347
  • Loading branch information
bengro committed Sep 9, 2018
1 parent 37788c2 commit 42ce1e3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions init/ale.vim
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
" Activate code completion
let g:ale_completion_enabled = 1

" Linting and fixing linting errors
let g:ale_linters = {'typescript': ['tsserver', 'tslint']}
let g:ale_fixers = {'typescript': ['tslint']}
" Linting linting errors
let g:ale_linters = {'typescript': ['tsserver']}

0 comments on commit 42ce1e3

Please sign in to comment.