be lazy
This commit is contained in:
parent
6756e27057
commit
19ea8025bf
|
|
@ -44,19 +44,32 @@ require('lazy').setup({
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
-- {
|
||||||
"neovim/nvim-lspconfig",
|
-- "neovim/nvim-lspconfig",
|
||||||
config = function()
|
-- config = function()
|
||||||
-- Configure the Pyright language server for Python
|
-- -- Configure the Pyright language server for Python
|
||||||
vim.lsp.config('pyright', {
|
-- vim.lsp.config('pyright', {
|
||||||
cmd = { "pyright-langserver", "--stdio" },
|
-- cmd = { "pyright-langserver", "--stdio" },
|
||||||
filetypes = { "python" },
|
-- filetypes = { "python" },
|
||||||
})
|
-- })
|
||||||
|
|
||||||
-- Enable the LSP server for Python files
|
-- -- Enable the LSP server for Python files
|
||||||
vim.lsp.enable('pyright')
|
-- vim.lsp.enable('pyright')
|
||||||
end,
|
-- end,
|
||||||
}
|
-- }
|
||||||
|
{
|
||||||
|
-- handle LSP server installation and management
|
||||||
|
-- let's be lazy for now.
|
||||||
|
"mason-org/mason.nvim",
|
||||||
|
dependencies = {
|
||||||
|
"mason-org/mason-lspconfig.nvim",
|
||||||
|
"neovim/nvim-lspconfig",
|
||||||
|
},
|
||||||
|
config = function()
|
||||||
|
require("mason").setup()
|
||||||
|
require("mason-lspconfig").setup()
|
||||||
|
end
|
||||||
|
},
|
||||||
}, {
|
}, {
|
||||||
ui = {
|
ui = {
|
||||||
-- If you are using a Nerd Font: set icons to an empty table which will use the
|
-- If you are using a Nerd Font: set icons to an empty table which will use the
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue