Browse Source

set up some more linting for javascript

Chrisatmachine 6 năm trước cách đây
mục cha
commit
27c89d8326
1 tập tin đã thay đổi với 6 bổ sung1 xóa
  1. 6 1
      init.vim

+ 6 - 1
init.vim

@@ -311,8 +311,13 @@ let g:ale_linters = {
     \ 'c' : ['gcc'],
     \ 'vim' : ['vint'],
     \ 'python': ['flake8', 'pyre', 'vulture', 'prospector', 'pyflakes', 'mypy', 'pyls'],
-    \ 'javascript': ['eslint', 'flow', 'flow-language-server', 'jscs', 'jshint', 'standard', 'tsserver', 'xo']
+    \ 'javascript': ['eslint']
     \}
+
+"let g:LanguageClient_serverCommands = {
+"    \ 'javascript': ['flow-language-server', '--stdio'],
+"    \ }
+
 let g:ale_cpp_gcc_options='-Wall -Wextra'
 let g:ale_c_gcc_options='-Wall -Wextra'
 let g:ale_vim_vint_executable = 'vint'