diff options
| author | Thomas Schmucker <ts@its1.de> | 2026-09-09 09:44:19 +0200 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2026-09-09 09:44:19 +0200 |
| commit | 101c7b01c826d6f198c30073177e0ee81c0a1963 (patch) | |
| tree | 514ce2a2b54b02e3da9741801d2607e37f5362a9 /nvim/lua/plugins | |
| parent | efd1723e99fdc8801bad742fd39a059c83f32c41 (diff) | |
| download | dotfiles-101c7b01c826d6f198c30073177e0ee81c0a1963.tar.gz dotfiles-101c7b01c826d6f198c30073177e0ee81c0a1963.tar.bz2 dotfiles-101c7b01c826d6f198c30073177e0ee81c0a1963.zip | |
yamllint als Linter hinzugefügt
Diffstat (limited to 'nvim/lua/plugins')
| -rw-r--r-- | nvim/lua/plugins/lint.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nvim/lua/plugins/lint.lua b/nvim/lua/plugins/lint.lua index f1d3b78..2bfcfc7 100644 --- a/nvim/lua/plugins/lint.lua +++ b/nvim/lua/plugins/lint.lua | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | -- shellcheck läuft in bashls, clang-tidy in clangd, ansible-lint in ansiblels. | 4 | -- shellcheck läuft in bashls, clang-tidy in clangd, ansible-lint in ansiblels. |
| 5 | 5 | ||
| 6 | local ruff = { "ruff" } -- bereits als Formatter installiert, siehe plugins/format.lua | 6 | local ruff = { "ruff" } -- bereits als Formatter installiert, siehe plugins/format.lua |
| 7 | local yamllint = { "yamllint" } -- brew install yamllint, pkg install devel/py-yamllint | ||
| 7 | local zsh = { "zsh" } -- kein zusätzliches Werkzeug: ruft `zsh --no-exec` auf | 8 | local zsh = { "zsh" } -- kein zusätzliches Werkzeug: ruft `zsh --no-exec` auf |
| 8 | 9 | ||
| 9 | return { | 10 | return { |
| @@ -15,6 +16,8 @@ return { | |||
| 15 | lint.linters_by_ft = { | 16 | lint.linters_by_ft = { |
| 16 | -- ergänzt die Typprüfung von basedpyright um die Lint-Regeln (F, E, UP, B ...) | 17 | -- ergänzt die Typprüfung von basedpyright um die Lint-Regeln (F, E, UP, B ...) |
| 17 | python = ruff, | 18 | python = ruff, |
| 19 | -- kein Sprachserver für YAML im Einsatz; Regeln kommen aus .yamllint des Projekts | ||
| 20 | yaml = yamllint, | ||
| 18 | -- Syntaxprüfung ohne Ausführung; bashls deckt nur sh und bash ab | 21 | -- Syntaxprüfung ohne Ausführung; bashls deckt nur sh und bash ab |
| 19 | zsh = zsh, | 22 | zsh = zsh, |
| 20 | } | 23 | } |
