feat: updated lsp parameters
This commit is contained in:
parent
4deec5b313
commit
79a2f35cec
@ -1,5 +1,3 @@
|
|||||||
if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
|
|
||||||
|
|
||||||
-- AstroLSP allows you to customize the features in AstroNvim's LSP configuration engine
|
-- AstroLSP allows you to customize the features in AstroNvim's LSP configuration engine
|
||||||
-- Configuration documentation can be found with `:h astrolsp`
|
-- Configuration documentation can be found with `:h astrolsp`
|
||||||
-- NOTE: We highly recommend setting up the Lua Language Server (`:LspInstall lua_ls`)
|
-- NOTE: We highly recommend setting up the Lua Language Server (`:LspInstall lua_ls`)
|
||||||
@ -31,8 +29,9 @@ return {
|
|||||||
disabled = { -- disable formatting capabilities for the listed language servers
|
disabled = { -- disable formatting capabilities for the listed language servers
|
||||||
-- disable lua_ls formatting capability if you want to use StyLua to format your lua code
|
-- disable lua_ls formatting capability if you want to use StyLua to format your lua code
|
||||||
-- "lua_ls",
|
-- "lua_ls",
|
||||||
|
"volar",
|
||||||
},
|
},
|
||||||
timeout_ms = 1000, -- default format timeout
|
timeout_ms = 7000, -- default format timeout
|
||||||
-- filter = function(client) -- fully override the default formatting function
|
-- filter = function(client) -- fully override the default formatting function
|
||||||
-- return true
|
-- return true
|
||||||
-- end
|
-- end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user