summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/custom/plugins/lsp.lua
diff options
context:
space:
mode:
authorKyren223 <ulmliad223@gmail.com>2024-07-07 17:54:36 +0300
committerKyren223 <ulmliad223@gmail.com>2024-07-07 17:54:36 +0300
commitfb07fbdefd9cbe7d3d8a185812d0a930d7ddc4ab (patch)
treeca4c0df1e75b0435d670b142cafb6d6bea2c7c9e /.config/nvim/lua/custom/plugins/lsp.lua
parent6c52215796b04ee7e57d33007be638b82c7d6393 (diff)
Neovim: reworked lsp setup, along with some minor tweaks
Diffstat (limited to '.config/nvim/lua/custom/plugins/lsp.lua')
-rw-r--r--.config/nvim/lua/custom/plugins/lsp.lua30
1 files changed, 30 insertions, 0 deletions
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,
+ },
+}