add lsp
This commit is contained in:
parent
416d127e9d
commit
cd0e85ec47
@ -59,6 +59,29 @@ return {
|
||||
'chentoast/marks.nvim',
|
||||
--# indentwise, helps with indentation formatting
|
||||
"jeetsukumaran/vim-indentwise",
|
||||
--# lsp, the lazy way
|
||||
{
|
||||
"dundalek/lazy-lsp.nvim",
|
||||
dependencies = {
|
||||
"neovim/nvim-lspconfig",
|
||||
{"VonHeikemen/lsp-zero.nvim", branch = "v3.x"},
|
||||
"hrsh7th/cmp-nvim-lsp",
|
||||
"hrsh7th/nvim-cmp",
|
||||
},
|
||||
config = function()
|
||||
local lsp_zero = require("lsp-zero")
|
||||
|
||||
lsp_zero.on_attach(function(client, bufnr)
|
||||
-- see :help lsp-zero-keybindings to learn the available actions
|
||||
lsp_zero.default_keymaps({
|
||||
buffer = bufnr,
|
||||
preserve_mappings = false
|
||||
})
|
||||
end)
|
||||
|
||||
require("lazy-lsp").setup {}
|
||||
end,
|
||||
},
|
||||
}
|
||||
--"lukas-reineke/indent-blankline.nvim",
|
||||
--"williamboman/mason.nvim",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user