vim-lint

Lint plugin for vim
git clone https://git.ce9e.org/vim-lint.git

commit
bae14170982b1e924e0eab5e8efb79563bf76369
parent
266a3b53820db773219a7160c512d4456f745941
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2019-02-23 17:54
extend linters

Diffstat

R ftplugin/sh_lint_shellcheck.vim -> ftplugin/c_clang.vim 4 ++--
R ftplugin/sh_lint_shellcheck.vim -> ftplugin/css_stylelint.vim 4 ++--
R ftplugin/javascript_lint_jshint.vim -> ftplugin/javascript_eslint.vim 4 ++--
R ftplugin/javascript_lint_jshint.vim -> ftplugin/javascript_jshint.vim 0
A ftplugin/php_php.vim 4 ++++
R ftplugin/python_lint_flake8.vim -> ftplugin/python_flake8.vim 0
A ftplugin/scss_stylelint.vim 2 ++
R ftplugin/sh_lint_shellcheck.vim -> ftplugin/sh_shellcheck.vim 0

8 files changed, 12 insertions, 6 deletions


diff --git a/ftplugin/sh_lint_shellcheck.vim b/ftplugin/c_clang.vim

@@ -1,4 +1,4 @@
    1    -1 if executable('shellcheck')
    2    -1     let g:lint_prg = 'shellcheck -f gcc'
   -1     1 if executable('clang')
   -1     2     let g:lint_prg = 'clang -x c -fsyntax-only'
    3     3     let g:lint_format = '%f:%l:%c: %m'
    4     4 endif

diff --git a/ftplugin/sh_lint_shellcheck.vim b/ftplugin/css_stylelint.vim

@@ -1,4 +1,4 @@
    1    -1 if executable('shellcheck')
    2    -1     let g:lint_prg = 'shellcheck -f gcc'
   -1     1 if executable('stylelint')
   -1     2     let g:lint_prg = 'stylelint -f unix'
    3     3     let g:lint_format = '%f:%l:%c: %m'
    4     4 endif

diff --git a/ftplugin/javascript_lint_jshint.vim b/ftplugin/javascript_eslint.vim

@@ -1,4 +1,4 @@
    1    -1 if executable('jshint')
    2    -1     let g:lint_prg = 'jshint'
   -1     1 if executable('eslint')
   -1     2     let g:lint_prg = 'eslint'
    3     3     let g:lint_format = '%f: line %l\, col %c\, %m'
    4     4 endif

diff --git a/ftplugin/javascript_lint_jshint.vim b/ftplugin/javascript_jshint.vim

diff --git a/ftplugin/php_php.vim b/ftplugin/php_php.vim

@@ -0,0 +1,4 @@
   -1     1 if executable('php')
   -1     2     let g:lint_prg = 'php -l'
   -1     3     let g:lint_format = '%m in %f on line %l'
   -1     4 endif

diff --git a/ftplugin/python_lint_flake8.vim b/ftplugin/python_flake8.vim

diff --git a/ftplugin/scss_stylelint.vim b/ftplugin/scss_stylelint.vim

@@ -0,0 +1 @@
   -1     1 css_stylelint.vi
   -1     1 
\ No newline at end of file

diff --git a/ftplugin/sh_lint_shellcheck.vim b/ftplugin/sh_shellcheck.vim