2024-04-30 22:44:16 +00:00
|
|
|
-- AstroLSP allows you to customize the features in AstroNvim's LSP configuration engine
|
|
|
|
-- Configuration documentation can be found with `:h astrolsp`
|
|
|
|
-- NOTE: We highly recommend setting up the Lua Language Server (`:LspInstall lua_ls`)
|
|
|
|
-- as this provides autocomplete and documentation while editing
|
|
|
|
|
|
|
|
---@type LazySpec
|
|
|
|
return {
|
|
|
|
"AstroNvim/astrolsp",
|
|
|
|
---@type AstroLSPOpts
|
|
|
|
opts = {
|
|
|
|
features = {
|
|
|
|
autoformat = true,
|
|
|
|
codelens = true,
|
|
|
|
inlay_hints = true,
|
|
|
|
semantic_tokens = true,
|
|
|
|
},
|
|
|
|
formatting = {
|
|
|
|
disabled = {
|
|
|
|
"sqls",
|
2024-07-08 23:10:18 +00:00
|
|
|
"typescript-tools",
|
|
|
|
"tsserver",
|
|
|
|
"eslint",
|
2024-04-30 22:44:16 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|