- commit
- 370c789742f04436f52c51aaf16d9f57d27d9940
- parent
- ddf71618bc340a7ae72384ce353078232b33a123
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2019-02-23 15:34
configure some common linters
Diffstat
| A | ftplugin/javascript_lint_jshint.vim | 2 | ++ |
| A | ftplugin/python_lint_flake8.vim | 2 | ++ |
| A | ftplugin/sh_lint_shellcheck.vim | 2 | ++ |
3 files changed, 6 insertions, 0 deletions
diff --git a/ftplugin/javascript_lint_jshint.vim b/ftplugin/javascript_lint_jshint.vim
@@ -0,0 +1,2 @@ -1 1 let g:lint_prg = 'jshint' -1 2 let g:lint_format = '%f: line %l\, col %c\, %m'
diff --git a/ftplugin/python_lint_flake8.vim b/ftplugin/python_lint_flake8.vim
@@ -0,0 +1,2 @@ -1 1 let g:lint_prg = 'flake8' -1 2 let g:lint_format = '%f:%l:%c: %m,%f:%l: %m'
diff --git a/ftplugin/sh_lint_shellcheck.vim b/ftplugin/sh_lint_shellcheck.vim
@@ -0,0 +1,2 @@ -1 1 let g:lint_prg = 'shellcheck -f gcc' -1 2 let g:lint_format = '%f:%l:%c: %m'