summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua/plugins/lsp.lua
diff options
context:
space:
mode:
authorYigit Sever2024-06-09 03:55:24 +0300
committerYigit Sever2024-06-09 03:55:24 +0300
commit8e18eb89945ff7fb0253a34c340d389ec0c8492c (patch)
treebd41cf0f9ddac7ce069c41184db62a2e7b8d1e9d /.config/nvim/lua/plugins/lsp.lua
parent6583cb7cc53254a544aa8fa1091c5b74c2cc4845 (diff)
downloaddotfiles-8e18eb89945ff7fb0253a34c340d389ec0c8492c.tar.gz
dotfiles-8e18eb89945ff7fb0253a34c340d389ec0c8492c.tar.bz2
dotfiles-8e18eb89945ff7fb0253a34c340d389ec0c8492c.zip
nvim: replave neodev with lazydev
Diffstat (limited to '.config/nvim/lua/plugins/lsp.lua')
-rw-r--r--.config/nvim/lua/plugins/lsp.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/.config/nvim/lua/plugins/lsp.lua b/.config/nvim/lua/plugins/lsp.lua
index 029a0f1..a6d2f64 100644
--- a/.config/nvim/lua/plugins/lsp.lua
+++ b/.config/nvim/lua/plugins/lsp.lua
@@ -3,7 +3,6 @@ return {
3 "neovim/nvim-lspconfig", 3 "neovim/nvim-lspconfig",
4 dependencies = { 4 dependencies = {
5 "j-hui/fidget.nvim", 5 "j-hui/fidget.nvim",
6 "folke/neodev.nvim",
7 "RRethy/vim-illuminate", 6 "RRethy/vim-illuminate",
8 "hrsh7th/cmp-nvim-lsp", 7 "hrsh7th/cmp-nvim-lsp",
9 }, 8 },
@@ -14,9 +13,6 @@ return {
14 map('n', '[d', vim.diagnostic.goto_prev, "lsp: goto previous diagnostic") 13 map('n', '[d', vim.diagnostic.goto_prev, "lsp: goto previous diagnostic")
15 map('n', ']d', vim.diagnostic.goto_next, "lsp: goto next diagnostic") 14 map('n', ']d', vim.diagnostic.goto_next, "lsp: goto next diagnostic")
16 15
17 -- neodev setup before lsp config
18 require("neodev").setup()
19
20 -- set up cool signs for diagnostics 16 -- set up cool signs for diagnostics
21 local signs = { Error = " ", Warn = "", Hint = "", Info = "" } 17 local signs = { Error = " ", Warn = "", Hint = "", Info = "" }
22 for type, icon in pairs(signs) do 18 for type, icon in pairs(signs) do
@@ -202,4 +198,8 @@ return {
202 "simrat39/rust-tools.nvim", 198 "simrat39/rust-tools.nvim",
203 event = "LspAttach", 199 event = "LspAttach",
204 }, 200 },
201 {
202 "folke/lazydev.nvim",
203 ft = "lua", -- only load on lua files
204 },
205} 205}