From 0c20694e038ce71e5e6c83f4fe4253ca5a79e298 Mon Sep 17 00:00:00 2001 From: h-east Date: Fri, 8 Nov 2024 18:04:50 +0900 Subject: [PATCH 1/2] Update quickfix.{txt,jax} --- doc/quickfix.jax | 29 ++++++++++++++++++++++++++++- en/quickfix.txt | 29 ++++++++++++++++++++++++++++- 2 files changed, 56 insertions(+), 2 deletions(-) diff --git a/doc/quickfix.jax b/doc/quickfix.jax index 4fd0b8e27..0be8c9842 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 07 VIMリファレンスマニュアル by Bram Moolenaar @@ -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..37f0a181d 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 07 VIM REFERENCE MANUAL by Bram Moolenaar @@ -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* From 85aac0d336272b2ebd7cf85a24e2e86c9b6733c8 Mon Sep 17 00:00:00 2001 From: h-east Date: Tue, 12 Nov 2024 00:52:33 +0900 Subject: [PATCH 2/2] Update by original --- doc/quickfix.jax | 4 ++-- en/quickfix.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/quickfix.jax b/doc/quickfix.jax index 0be8c9842..0b959461e 100644 --- a/doc/quickfix.jax +++ b/doc/quickfix.jax @@ -1,4 +1,4 @@ -*quickfix.txt* For Vim バージョン 9.1. Last change: 2024 Nov 07 +*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リストが使われる。 diff --git a/en/quickfix.txt b/en/quickfix.txt index 37f0a181d..48f192a7b 100644 --- a/en/quickfix.txt +++ b/en/quickfix.txt @@ -1,4 +1,4 @@ -*quickfix.txt* For Vim version 9.1. Last change: 2024 Nov 07 +*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.