aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/neovim.sh
diff options
context:
space:
mode:
authorThomas Schmucker <ts@its1.de>2026-09-05 09:49:59 +0200
committerThomas Schmucker <ts@its1.de>2026-09-05 09:49:59 +0200
commit84755d0981123ace06786b5477a73dbd39b1a9d6 (patch)
tree776b197fe227adaf5d09cb501967ba80b58bc0af /bootstrap/neovim.sh
parent9a11bc2be48a8a9021cbf06c691bfb3ced886a4c (diff)
parent98b344cbacff5fad784b88abcf05186994edcef8 (diff)
downloaddotfiles-84755d0981123ace06786b5477a73dbd39b1a9d6.tar.gz
dotfiles-84755d0981123ace06786b5477a73dbd39b1a9d6.tar.bz2
dotfiles-84755d0981123ace06786b5477a73dbd39b1a9d6.zip
Merge branch 'master' into add-ansible-support
Diffstat (limited to 'bootstrap/neovim.sh')
-rwxr-xr-xbootstrap/neovim.sh27
1 files changed, 27 insertions, 0 deletions
diff --git a/bootstrap/neovim.sh b/bootstrap/neovim.sh
index 6010af3..e1a9112 100755
--- a/bootstrap/neovim.sh
+++ b/bootstrap/neovim.sh
@@ -78,10 +78,36 @@ install_npm() {
78 npm install -g "$package" 78 npm install -g "$package"
79} 79}
80 80
81install_pipx() {
82 binary="$1"
83 package="$2"
84
85 if have "$binary"; then
86 printf "✓ %-32s vorhanden\n" "$binary"
87 return
88 fi
89
90 if ! have pipx; then
91 die "pipx wurde nicht gefunden."
92 fi
93
94 printf "→ Installiere pipx-Paket %s\n" "$package"
95 pipx install "$package"
96}
97
81install_prerequisites() { 98install_prerequisites() {
82 install_pkg curl curl 99 install_pkg curl curl
83 install_pkg git git 100 install_pkg git git
84 install_pkg node node 101 install_pkg node node
102
103 case "$OS" in
104 Darwin)
105 install_pkg pipx pipx
106 ;;
107 FreeBSD)
108 install_pkg pipx devel/py-pipx
109 ;;
110 esac
85} 111}
86 112
87install_formatters() { 113install_formatters() {
@@ -92,6 +118,7 @@ install_formatters() {
92 install_pkg shfmt shfmt 118 install_pkg shfmt shfmt
93 install_pkg stylua stylua 119 install_pkg stylua stylua
94 install_pkg yamlfmt yamlfmt 120 install_pkg yamlfmt yamlfmt
121 install_pipx djlint djlint
95 122
96 case "$OS" in 123 case "$OS" in
97 Darwin) 124 Darwin)