From 101c7b01c826d6f198c30073177e0ee81c0a1963 Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Wed, 9 Sep 2026 09:44:19 +0200 Subject: yamllint als Linter hinzugefügt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bootstrap/neovim.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'bootstrap') diff --git a/bootstrap/neovim.sh b/bootstrap/neovim.sh index 1508401..4c91075 100755 --- a/bootstrap/neovim.sh +++ b/bootstrap/neovim.sh @@ -172,13 +172,20 @@ install_lsp() { } install_analysis() { + # yamllint wird von nvim-lint fuer YAML-Dateien aufgerufen. Unter FreeBSD ist + # der Paketname python-versioniert (py311-yamllint), deshalb der Origin-Pfad. + # # sonar-scanner wird direkt von nvim/lua/config/usercmds.lua (:SonarScan) # und nvim/scripts/sonarqube.sh (:SonarIssues) genutzt. Nur beruflich # unter macOS im Einsatz, deshalb kein FreeBSD-Zweig. case "$OS" in Darwin) + install_pkg yamllint yamllint install_pkg sonar-scanner sonar-scanner ;; + FreeBSD) + install_pkg yamllint devel/py-yamllint + ;; esac } -- cgit v1.3