migrate astronvim conf to astronvim v4
This commit is contained in:
parent
d497490285
commit
6c59294bbb
8 changed files with 138 additions and 125 deletions
24
astronvim/plugins/astrolsp.lua
Normal file
24
astronvim/plugins/astrolsp.lua
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
---@type LazySpec
|
||||
return {
|
||||
"AstroNvim/astrolsp",
|
||||
---@type AstroLSPOpts
|
||||
opts = {
|
||||
features = {
|
||||
autoformat = true,
|
||||
codelens = true,
|
||||
semantic_tokens = true,
|
||||
},
|
||||
formatting = {
|
||||
format_on_save = {
|
||||
enabled = true,
|
||||
},
|
||||
timeout_ms = 1000, -- default format timeout
|
||||
|
||||
},
|
||||
servers = {
|
||||
"ruff",
|
||||
"lua_ls",
|
||||
},
|
||||
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue