From fb07fbdefd9cbe7d3d8a185812d0a930d7ddc4ab Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sun, 7 Jul 2024 17:54:36 +0300 Subject: Neovim: reworked lsp setup, along with some minor tweaks --- .config/nvim/lua/custom/plugins/lsp.lua | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .config/nvim/lua/custom/plugins/lsp.lua (limited to '.config/nvim/lua/custom/plugins/lsp.lua') diff --git a/.config/nvim/lua/custom/plugins/lsp.lua b/.config/nvim/lua/custom/plugins/lsp.lua new file mode 100644 index 0000000..e555ace --- /dev/null +++ b/.config/nvim/lua/custom/plugins/lsp.lua @@ -0,0 +1,30 @@ +return { + { + 'neovim/nvim-lspconfig', + lazy = false, + dependencies = { + 'williamboman/mason.nvim', + 'williamboman/mason-lspconfig.nvim', + + { + 'folke/lazydev.nvim', + ft = 'lua', + opts = { library = { { path = 'luvit-meta/library', words = { 'vim%.uv' } } } }, + }, + + -- FIXME: Starts with a black blackground + -- Desired behaviour is same color as background or transparent + -- Progress ui + { 'j-hui/fidget.nvim', opts = {} }, + + -- AUtoformatting + -- 'stevear/conform.nvim', + + -- Schema info + -- 'b0o/SchemaStore.nvim', + }, + config = function() + require('custom.lsp') + end, + }, +} -- cgit v1.3.1