aboutsummaryrefslogtreecommitdiff
path: root/config/nvim
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2023-10-06 23:04:08 +0200
committerCharles Cabergs <me@cacharle.xyz>2023-10-06 23:04:08 +0200
commit40786e775c0d1540f88f8fab6af2a4b19a3e571e (patch)
tree4aa9cfe61036c132cf70fb3954031da25a5a2f0b /config/nvim
parent59f7c5d763e556d5b06e155d4fa06e36bbe5a320 (diff)
downloaddotfiles-40786e775c0d1540f88f8fab6af2a4b19a3e571e.tar.gz
dotfiles-40786e775c0d1540f88f8fab6af2a4b19a3e571e.tar.bz2
dotfiles-40786e775c0d1540f88f8fab6af2a4b19a3e571e.zip
Added zig lsp
Diffstat (limited to 'config/nvim')
-rw-r--r--config/nvim/lua/plugins.lua23
1 files changed, 13 insertions, 10 deletions
diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua
index 03659d7..6d92a76 100644
--- a/config/nvim/lua/plugins.lua
+++ b/config/nvim/lua/plugins.lua
@@ -61,7 +61,7 @@ return require("packer").startup(function()
-- nvim lsp configuration
use {
"neovim/nvim-lspconfig",
- ft = {"rust", "python", "c", "cpp", "lua", "go", "haskell", "ocaml"},
+ ft = {"rust", "python", "c", "cpp", "lua", "go", "haskell", "ocaml", "zig"},
config = function()
vim.diagnostic.config {
signs = false,
@@ -173,6 +173,9 @@ return require("packer").startup(function()
}
lspconfig.clangd.setup { on_attach = on_attach }
+
+ -- pacman -S zls
+ lspconfig.zls.setup{}
end,
}
@@ -497,15 +500,15 @@ return require("packer").startup(function()
-- -- run = ":DistantInstall"
-- }
- use {
- 'chipsenkbeil/distant.nvim',
- branch = 'v0.3',
- config = function()
- require('distant'):setup()
- require("telescope").load_extension("distant")
- end,
- -- run = ":DistantInstall"
- }
+ -- use {
+ -- 'chipsenkbeil/distant.nvim',
+ -- branch = 'v0.3',
+ -- config = function()
+ -- require('distant'):setup()
+ -- require("telescope").load_extension("distant")
+ -- end,
+ -- -- run = ":DistantInstall"
+ -- }
-- jupyter kernel in nvim (with images, needs ueberzug)
-- use {