Added manually installed .zls

This commit is contained in:
2024-12-02 13:40:25 +02:00
parent 07ff44fd4f
commit 73b3c21823
3 changed files with 13 additions and 1 deletions

View File

@@ -128,5 +128,12 @@ return {
-- },
-- },
-- },
zls = true, -- zig
zls = {
cmd = { 'zls' },
settings = {
zls = {
enable_build_on_save = true,
},
},
}, -- zig
}

View File

@@ -55,3 +55,7 @@ vim.filetype.add({
mdx = 'markdown',
},
})
-- Zig LSP settings
vim.g.zig_fmt_parse_errors = 0
vim.g.zig_fmt_autosave = 0

1
.zshrc
View File

@@ -81,6 +81,7 @@ export GOPATH="$HOME/go"
export PATH="$GOPATH/bin:$PATH"
export PATH="$HOME/scripts:$PATH"
export PATH="$HOME/.zig:$PATH"
export PATH="$HOME/.zls:$PATH"
# pnpm
export PNPM_HOME="/home/kyren/.local/share/pnpm"