Browse Source

fixed ALE

Christian Chiarulli 6 years ago
parent
commit
f833d75d73
2 changed files with 11 additions and 0 deletions
  1. 1 0
      init.vim
  2. 10 0
      modules/ale.vim

+ 1 - 0
init.vim

@@ -12,3 +12,4 @@ source $HOME/.config/nvim/modules/markdown-preview.vim
 source $HOME/.config/nvim/modules/language_server.vim
 "install ripgrep"
 "install universal ctags"
+

+ 10 - 0
modules/ale.vim

@@ -0,0 +1,10 @@
+"Enable ale linters"
+let g:ale_linters = {
+    \ 'cpp' : ['gcc'],
+    \ 'c' : ['gcc'],
+    \ 'vim' : ['vint'],
+    \ 'python': ['flake8', 'pyls'],
+    \ 'javascript': ['eslint']
+    \}
+
+"TODO add fixers"