vim-lint

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

commit
5db76642513bf9bb8f95e102bc1fae1c030e1efb
parent
8c1889a1b1d485e3058af60ed72c5094817c816f
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2023-03-06 18:56
add python ruff linter

Diffstat

R ftplugin/python_10_flake8.vim -> ftplugin/python_10_ruff.vim 4 ++--
R ftplugin/python_10_flake8.vim -> ftplugin/python_20_flake8.vim 0

2 files changed, 2 insertions, 2 deletions


diff --git a/ftplugin/python_10_flake8.vim b/ftplugin/python_10_ruff.vim

@@ -1,5 +1,5 @@
    1    -1 if executable('flake8') && !exists('b:lint_prg')
    2    -1     let b:lint_prg = 'flake8'
   -1     1 if executable('ruff') && !exists('b:lint_prg')
   -1     2     let b:lint_prg = 'ruff'
    3     3     let b:lint_format =
    4     4         \ 'error: Failed to parse %f:%l:%c: %m,' .
    5     5         \ 'error: Failed to parse %f:%l: %m,' .

diff --git a/ftplugin/python_10_flake8.vim b/ftplugin/python_20_flake8.vim