diff --git a/doc/quickfix.jax b/doc/quickfix.jax index 4fd0b8e27..0b959461e 100644 --- a/doc/quickfix.jax +++ b/doc/quickfix.jax @@ -1,4 +1,4 @@ -*quickfix.txt* For Vim バージョン 9.1. Last change: 2024 Oct 05 +*quickfix.txt* For Vim バージョン 9.1. Last change: 2024 Nov 10 VIMリファレンスマニュアル by Bram Moolenaar @@ -336,7 +336,7 @@ locationリストが |autocommand| に変更される場合、それは中断さ 例: > :g/mypattern/caddexpr expand("%") .. ":" .. line(".") .. ":" .. getline(".") < - *:lad* *:addd* *:laddexpr* + *:lad* *:ladd* *:laddexpr* :lad[dexpr] {expr} ":caddexpr" と同様だが、quickfixリストでなく、カレント ウィンドウのlocationリストが使われる。 @@ -1355,6 +1355,33 @@ Perl コンパイラプラグインはコンパイルはしないが、Perl 内 を代入する。例: > let g:perl_compiler_force_warnings = 0 +MYPY TYPE CHECKER *compiler-mypy* + +よく使用されるコンパイラオプションは、b/g:mypy_makeprg_params 変数を設定するこ +とで 'makeprg' に追加できる。例: > + + let b:mypy_makeprg_params = "--warn-unused-ignores" + +グローバルのデフォルトは "--strict --ignore-missing-imports" である。 + +RUFF LINTER *compiler-ruff* + +よく使用されるコンパイラオプションは、b/g:ruff_makeprg_params 変数を設定するこ +とで 'makeprg' に追加できる。例: > + + let b:ruff_makeprg_params = "--max-line-length"..&textwidth + +グローバルのデフォルトは "--preview" である。 + +PYLINT LINTER *compiler-pylint* + +よく使用されるコンパイラオプションは、b/g:pylint_makeprg_params 変数を設定する +ことで 'makeprg' に追加できる。例: > + + let b:pylint_makeprg_params = "--max-line-length"..&textwidth + +グローバルのデフォルトは "--jobs=n" で、n は実行可能な場合、getconf によって報 +告されるコアの数である。それ以外の場合は、デフォルトで "" になる。 PYUNIT COMPILER *compiler-pyunit* diff --git a/en/quickfix.txt b/en/quickfix.txt index e7536446b..48f192a7b 100644 --- a/en/quickfix.txt +++ b/en/quickfix.txt @@ -1,4 +1,4 @@ -*quickfix.txt* For Vim version 9.1. Last change: 2024 Oct 05 +*quickfix.txt* For Vim version 9.1. Last change: 2024 Nov 10 VIM REFERENCE MANUAL by Bram Moolenaar @@ -361,7 +361,7 @@ processing a quickfix or location list command, it will be aborted. Example: > :g/mypattern/caddexpr expand("%") .. ":" .. line(".") .. ":" .. getline(".") < - *:lad* *:addd* *:laddexpr* + *:lad* *:ladd* *:laddexpr* :lad[dexpr] {expr} Same as ":caddexpr", except the location list for the current window is used instead of the quickfix list. @@ -1405,6 +1405,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*