1
Fork 0
This commit is contained in:
Matei Adriel 2023-06-15 20:08:20 +02:00
parent 2533fa1c43
commit 70bbc27dbb
No known key found for this signature in database
17 changed files with 419 additions and 242 deletions
dotfiles/neovim/lua/my/plugins

View file

@ -167,23 +167,30 @@ local servers = {
},
},
-- }}}
-- {{{ Nix
rnix = {},
nil_ls = {},
nixd = {},
-- }}}
cssls = {},
jsonls = {},
dhall_lsp_server = {},
typst_lsp = {},
-- {{{ Inactive
-- pylsp = {},
-- pyright = {},
-- }}}
}
-- }}}
-- {{{ Capabilities
M.capabilities = function()
-- require("lazy").load({ plugins = "hrsh7th/cmp-nvim-lsp" })
local c = require("cmp_nvim_lsp").default_capabilities()
-- Add folding capabilities
c.textDocument.foldingRange =
{ dynamicRegistration = false, lineFoldingOnly = true }
c.textDocument.foldingRange = {
dynamicRegistration = false,
lineFoldingOnly = true,
}
return c
end
-- }}}