Skip to content

Commit

Permalink
feat(nvim): zig
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Aug 23, 2023
1 parent 629eef7 commit fcb47f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/neovim/config/lua/user/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,11 @@ lspconfig.clangd.setup({
on_attach = on_attach,
})

lspconfig.zls.setup({
capabilities = capabilities,
on_attach = on_attach,
})

-- Make runtime files discoverable to the server
local runtime_path = vim.split(package.path, ";", {})
table.insert(runtime_path, "lua/?.lua")
Expand Down
2 changes: 2 additions & 0 deletions modules/pkgs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@
yaml-language-server
yamllint
zk # zettelkasten
zig
zls # zig lsp
] ++ (lib.optionals pkgs.stdenv.isDarwin [
nur.repos.caarlos0.discord-applemusic-rich-presence
terminal-notifier
Expand Down

0 comments on commit fcb47f2

Please sign in to comment.