aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorThomas Schmucker <ts@its1.de>2026-09-09 09:44:19 +0200
committerThomas Schmucker <ts@its1.de>2026-09-09 09:44:19 +0200
commit101c7b01c826d6f198c30073177e0ee81c0a1963 (patch)
tree514ce2a2b54b02e3da9741801d2607e37f5362a9 /bootstrap
parentefd1723e99fdc8801bad742fd39a059c83f32c41 (diff)
downloaddotfiles-101c7b01c826d6f198c30073177e0ee81c0a1963.tar.gz
dotfiles-101c7b01c826d6f198c30073177e0ee81c0a1963.tar.bz2
dotfiles-101c7b01c826d6f198c30073177e0ee81c0a1963.zip
yamllint als Linter hinzugefügt
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/neovim.sh7
1 files changed, 7 insertions, 0 deletions
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() {
172} 172}
173 173
174install_analysis() { 174install_analysis() {
175 # yamllint wird von nvim-lint fuer YAML-Dateien aufgerufen. Unter FreeBSD ist
176 # der Paketname python-versioniert (py311-yamllint), deshalb der Origin-Pfad.
177 #
175 # sonar-scanner wird direkt von nvim/lua/config/usercmds.lua (:SonarScan) 178 # sonar-scanner wird direkt von nvim/lua/config/usercmds.lua (:SonarScan)
176 # und nvim/scripts/sonarqube.sh (:SonarIssues) genutzt. Nur beruflich 179 # und nvim/scripts/sonarqube.sh (:SonarIssues) genutzt. Nur beruflich
177 # unter macOS im Einsatz, deshalb kein FreeBSD-Zweig. 180 # unter macOS im Einsatz, deshalb kein FreeBSD-Zweig.
178 case "$OS" in 181 case "$OS" in
179 Darwin) 182 Darwin)
183 install_pkg yamllint yamllint
180 install_pkg sonar-scanner sonar-scanner 184 install_pkg sonar-scanner sonar-scanner
181 ;; 185 ;;
186 FreeBSD)
187 install_pkg yamllint devel/py-yamllint
188 ;;
182 esac 189 esac
183} 190}
184 191