aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schmucker <ts@its1.de>2026-07-04 16:33:07 +0200
committerThomas Schmucker <ts@its1.de>2026-07-04 16:33:07 +0200
commite6c7b9a8fd4c7d640cedd24be0b3d170063400c6 (patch)
treefd05e9a1c67fbf1f952f63675a4ef49884194dfd
parent42d917218f52a9fc4524fc46583d6762651ae839 (diff)
parent4f053f3baedfa1be4cfb6fe1b0ec94fd3fbac8c2 (diff)
downloaddotfiles-e6c7b9a8fd4c7d640cedd24be0b3d170063400c6.tar.gz
dotfiles-e6c7b9a8fd4c7d640cedd24be0b3d170063400c6.tar.bz2
dotfiles-e6c7b9a8fd4c7d640cedd24be0b3d170063400c6.zip
Merge branch 'master' of git.its1.de:public/dotfiles
-rw-r--r--git/config2
-rwxr-xr-xinstall.sh2
-rw-r--r--nvim/lua/plugins/format.lua10
-rw-r--r--nvim/lua/plugins/lsp.lua7
-rw-r--r--zsh/zshrc5
5 files changed, 18 insertions, 8 deletions
diff --git a/git/config b/git/config
index 1ea1370..c45c684 100644
--- a/git/config
+++ b/git/config
@@ -34,4 +34,4 @@
34 34
35[alias] 35[alias]
36 lg = log --color --graph --pretty=format:'%C(magenta)%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --branches 36 lg = log --color --graph --pretty=format:'%C(magenta)%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --branches
37 37 cleanup = "!git branch --merged master --format='%(refname:short)' | grep -v '^master$' | xargs -r git branch -d"
diff --git a/install.sh b/install.sh
index 247b204..ffe43ba 100755
--- a/install.sh
+++ b/install.sh
@@ -1,6 +1,6 @@
1#!/bin/sh 1#!/bin/sh
2 2
3set -e 3set -eu
4 4
5SCRIPT_DIR=$(cd -P -- "$(dirname -- "$0")" && pwd -P) 5SCRIPT_DIR=$(cd -P -- "$(dirname -- "$0")" && pwd -P)
6 6
diff --git a/nvim/lua/plugins/format.lua b/nvim/lua/plugins/format.lua
index f79f577..f80ee2d 100644
--- a/nvim/lua/plugins/format.lua
+++ b/nvim/lua/plugins/format.lua
@@ -12,18 +12,18 @@ return {
12 }, 12 },
13 opts = { 13 opts = {
14 formatters_by_ft = { 14 formatters_by_ft = {
15 awk = { "gawk" }, -- pkg install gawk 15 awk = { "gawk" }, -- brew install gawk, pkg install gawk
16 bash = { "shfmt" }, 16 bash = { "shfmt" }, -- brew install shfmt, pkg install shfmt
17 c = {}, -- clangd 17 c = {}, -- clangd
18 cpp = {}, -- clangd 18 cpp = {}, -- clangd
19 html = { "prettier" }, -- npm install -g prettier 19 html = { "prettier" }, -- (siehe "typescript")
20 javascript = { "prettier" }, 20 javascript = { "prettier" }, -- (siehe "typescript")
21 json = { "jq" }, -- brew install jq, pkg install jq 21 json = { "jq" }, -- brew install jq, pkg install jq
22 lua = { "stylua" }, -- brew install stylua, pkg install stylua 22 lua = { "stylua" }, -- brew install stylua, pkg install stylua
23 python = { "ruff_format" }, -- brew install ruff, pkg install ruff 23 python = { "ruff_format" }, -- brew install ruff, pkg install ruff
24 sh = { "shfmt" }, -- brew install, pkg install shfmt 24 sh = { "shfmt" }, -- brew install, pkg install shfmt
25 typescript = { "prettier" }, -- npm install -g prettier 25 typescript = { "prettier" }, -- npm install -g prettier
26 xml = { "xmllint" }, -- xmllint ist Teil von libxml2 26 xml = { "xmllint" }, -- xmllint ist Teil von libxml2 (standardmäßig installiert unter MacOS; pkg install libxml2)
27 xsd = { "xmllint" }, 27 xsd = { "xmllint" },
28 yaml = { "yamlfmt" }, -- brew install yamlfmt, pkg install yamlfmt 28 yaml = { "yamlfmt" }, -- brew install yamlfmt, pkg install yamlfmt
29 }, 29 },
diff --git a/nvim/lua/plugins/lsp.lua b/nvim/lua/plugins/lsp.lua
index 03a6be0..b301b68 100644
--- a/nvim/lua/plugins/lsp.lua
+++ b/nvim/lua/plugins/lsp.lua
@@ -60,6 +60,10 @@ return {
60 capabilities = capabilities, 60 capabilities = capabilities,
61 } 61 }
62 62
63 vim.lsp.config.html = {
64 capabilities = capabilities,
65 }
66
63 vim.lsp.config.vtsls = { 67 vim.lsp.config.vtsls = {
64 capabilities = capabilities, 68 capabilities = capabilities,
65 settings = { 69 settings = {
@@ -109,8 +113,9 @@ return {
109 "basedpyright", -- npm install -g basedpyright, brew install basedpyright 113 "basedpyright", -- npm install -g basedpyright, brew install basedpyright
110 "bashls", -- npm install -g bash-language-server, pkg install hs-ShellCheck 114 "bashls", -- npm install -g bash-language-server, pkg install hs-ShellCheck
111 "clangd", -- pkg install llvm 115 "clangd", -- pkg install llvm
116 "html", -- npm install -g vscode-langservers-extracted
112 "jsonls", -- npm install -g vscode-langservers-extracted 117 "jsonls", -- npm install -g vscode-langservers-extracted
113 "lua_ls", -- pkg install lua-language-server 118 "lua_ls", -- pkg install lua-language-server, brew install lua-language-server
114 "prismals", -- npm install -g @prisma/language-server 119 "prismals", -- npm install -g @prisma/language-server
115 "vtsls", -- npm install -g @vtsls/language-server 120 "vtsls", -- npm install -g @vtsls/language-server
116 }) 121 })
diff --git a/zsh/zshrc b/zsh/zshrc
index 53fb25a..106c0df 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -82,6 +82,11 @@ alias nvim-update='nvim --headless "+Lazy! sync" "+qa"'
82autoload -U compinit; compinit 82autoload -U compinit; compinit
83_comp_options+=(globdots) # With hidden files 83_comp_options+=(globdots) # With hidden files
84 84
85# ... Angular CLI
86if (( $+commands[ng] )); then
87 source <(ng completion script)
88fi
89
85zstyle ':completion:*' completer _extensions _complete _approximate 90zstyle ':completion:*' completer _extensions _complete _approximate
86 91
87zstyle ':completion:*' menu select 92zstyle ':completion:*' menu select