diff options
| -rwxr-xr-x | bootstrap/neovim.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bootstrap/neovim.sh b/bootstrap/neovim.sh index 6ffefaf..94bf82b 100755 --- a/bootstrap/neovim.sh +++ b/bootstrap/neovim.sh | |||
| @@ -141,6 +141,17 @@ install_lsp() { | |||
| 141 | install_npm vtsls @vtsls/language-server | 141 | install_npm vtsls @vtsls/language-server |
| 142 | } | 142 | } |
| 143 | 143 | ||
| 144 | install_analysis() { | ||
| 145 | # sonar-scanner wird direkt von nvim/lua/config/usercmds.lua (:SonarScan) | ||
| 146 | # und nvim/scripts/sonarqube.sh (:SonarIssues) genutzt. Nur beruflich | ||
| 147 | # unter macOS im Einsatz, deshalb kein FreeBSD-Zweig. | ||
| 148 | case "$OS" in | ||
| 149 | Darwin) | ||
| 150 | install_pkg sonar-scanner sonar-scanner | ||
| 151 | ;; | ||
| 152 | esac | ||
| 153 | } | ||
| 154 | |||
| 144 | main() { | 155 | main() { |
| 145 | check_prerequisites | 156 | check_prerequisites |
| 146 | setup_homebrew_env | 157 | setup_homebrew_env |
| @@ -149,6 +160,7 @@ main() { | |||
| 149 | install_formatters | 160 | install_formatters |
| 150 | install_tools | 161 | install_tools |
| 151 | install_lsp | 162 | install_lsp |
| 163 | install_analysis | ||
| 152 | 164 | ||
| 153 | printf "\nBootstrap abgeschlossen.\n" | 165 | printf "\nBootstrap abgeschlossen.\n" |
| 154 | } | 166 | } |
