mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2025-08-01 08:19:25 +00:00
[neovim] Use ty instead of basedright
This commit is contained in:
@ -4,14 +4,14 @@ local servers = {
|
|||||||
"gopls",
|
"gopls",
|
||||||
"helm_ls",
|
"helm_ls",
|
||||||
"html",
|
"html",
|
||||||
-- "kotlin_language_server",
|
|
||||||
"jdtls",
|
"jdtls",
|
||||||
"jsonls",
|
"jsonls",
|
||||||
"lua_ls",
|
"lua_ls",
|
||||||
"marksman",
|
"marksman",
|
||||||
"basedpyright",
|
-- "basedpyright",
|
||||||
"ruff",
|
"ruff",
|
||||||
"terraformls",
|
"terraformls",
|
||||||
|
"ty",
|
||||||
"yamlls",
|
"yamlls",
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -43,7 +43,7 @@ for _, server in pairs(servers) do
|
|||||||
|
|
||||||
server = vim.split(server, "@")[1]
|
server = vim.split(server, "@")[1]
|
||||||
|
|
||||||
-- https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md
|
-- https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md
|
||||||
local config_exists, conf_opts = pcall(require, "plugins.lsp.settings." .. server)
|
local config_exists, conf_opts = pcall(require, "plugins.lsp.settings." .. server)
|
||||||
if config_exists then
|
if config_exists then
|
||||||
opts = vim.tbl_deep_extend("force", conf_opts, opts)
|
opts = vim.tbl_deep_extend("force", conf_opts, opts)
|
||||||
|
Reference in New Issue
Block a user