lua/custom/lsp/** configs This commit removes the need for nvim-lspconfig which is replaced by the vim.lsp API. The lsp/ folder is a copy of nvim-lspconfig's lsp/ folder as it makes it easy to modify LSP configurations on the fly. Conform: biome has been replaced with oxfmt
13 lines
326 B
Lua
13 lines
326 B
Lua
---@brief
|
|
---
|
|
--- Renamed to [vue_ls](#vue_ls)
|
|
|
|
---@type vim.lsp.Config
|
|
return vim.tbl_extend('force', vim.lsp.config.vue_ls, {
|
|
on_init = function(...)
|
|
vim.deprecate('volar', 'vue_ls', '3.0.0', 'nvim-lspconfig', false)
|
|
if vim.lsp.config.vue_ls.on_init then
|
|
vim.lsp.config.vue_ls.on_init(...)
|
|
end
|
|
end,
|
|
})
|