Working on LSP and shit like that, Astro config is confusing, need to
learn it myself from scratch
This commit is contained in:
parent
5e821a4d61
commit
dc3e319f27
19 changed files with 400 additions and 18 deletions
28
lua/user/lsp.lua
Normal file
28
lua/user/lsp.lua
Normal file
|
@ -0,0 +1,28 @@
|
|||
return {
|
||||
{
|
||||
"b0o/SchemaStore.nvim",
|
||||
commit = "15f37630d3abfb98607dd8e4625b731a8558b96d",
|
||||
},
|
||||
{
|
||||
"folke/neodev.nvim",
|
||||
commit = "2daabebac1b0b2ab7abba298c1a8f07a542866a6",
|
||||
opts = {
|
||||
override = function(root_dir, library)
|
||||
for _, astronvim_config in ipairs(astronvim.supported_configs) do
|
||||
if root_dir:match(astronvim_config) then
|
||||
library.plugins = true
|
||||
break
|
||||
end
|
||||
end
|
||||
vim.b.neodev_enabled = library.enabled
|
||||
end,
|
||||
},
|
||||
},
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
commit = "1c13e529bd5683b54a39b633a560d2f00fcb25af",
|
||||
dependencies = {
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue