aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/quickfix.txt
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-11-09 08:43:43 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-11-09 08:43:50 +0800
commitb4c5e743ac66bd288017d769e06751cf9cda9a18 (patch)
tree4f4dcdf54ccd9cd6830455c04381728bf90f830e /runtime/doc/quickfix.txt
parent5c600370e0c0980caffebc1c6563da2d750ff34a (diff)
downloadrneovim-b4c5e743ac66bd288017d769e06751cf9cda9a18.tar.gz
rneovim-b4c5e743ac66bd288017d769e06751cf9cda9a18.tar.bz2
rneovim-b4c5e743ac66bd288017d769e06751cf9cda9a18.zip
vim-patch:6d9a145: runtime(compiler): add mypy and ruff compiler; update pylint linter
mypy and ruff come from https://github.com/Konfekt/vim-compilers/tree/master/compiler and the former was added by @pbnj-dragon closes: vim/vim#16007 https://github.com/vim/vim/commit/6d9a145d719857fe461d045adf3b61ec4b4bb53f Co-authored-by: Konfekt <Konfekt@users.noreply.github.com>
Diffstat (limited to 'runtime/doc/quickfix.txt')
-rw-r--r--runtime/doc/quickfix.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt
index 63109bdaf3..901aaf6e82 100644
--- a/runtime/doc/quickfix.txt
+++ b/runtime/doc/quickfix.txt
@@ -1366,6 +1366,33 @@ being checked. To disable this set g:perl_compiler_force_warnings to a zero
value. For example: >
let g:perl_compiler_force_warnings = 0
+MYPY TYPE CHECKER *compiler-mypy*
+
+Commonly used compiler options can be added to 'makeprg' by setting the
+b/g:mypy_makeprg_params variable. For example: >
+
+ let b:mypy_makeprg_params = "--warn-unused-ignores"
+
+The global default is "--strict --ignore-missing-imports".
+
+RUFF LINTER *compiler-ruff*
+
+Commonly used compiler options can be added to 'makeprg' by setting the
+b/g:ruff_makeprg_params variable. For example: >
+
+ let b:ruff_makeprg_params = "--max-line-length"..&textwidth
+
+The global default is "--preview".
+
+PYLINT LINTER *compiler-pylint*
+
+Commonly used compiler options can be added to 'makeprg' by setting the
+b/g:pylint_makeprg_params variable. For example: >
+
+ let b:pylint_makeprg_params = "--max-line-length"..&textwidth
+
+The global default is "--jobs=n" where n is the number of cores as reported
+by getconf, if executable. Otherwise it defaults to "".
PYUNIT COMPILER *compiler-pyunit*