mirror of
				https://github.com/dcarrillo/dotfiles.git
				synced 2025-11-04 00:29:08 +00:00 
			
		
		
		
	[neovim] Use ty instead of basedright
This commit is contained in:
		@@ -4,14 +4,14 @@ local servers = {
 | 
			
		||||
	"gopls",
 | 
			
		||||
	"helm_ls",
 | 
			
		||||
	"html",
 | 
			
		||||
	-- "kotlin_language_server",
 | 
			
		||||
	"jdtls",
 | 
			
		||||
	"jsonls",
 | 
			
		||||
	"lua_ls",
 | 
			
		||||
	"marksman",
 | 
			
		||||
	"basedpyright",
 | 
			
		||||
	-- "basedpyright",
 | 
			
		||||
	"ruff",
 | 
			
		||||
	"terraformls",
 | 
			
		||||
	"ty",
 | 
			
		||||
	"yamlls",
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@@ -43,7 +43,7 @@ for _, server in pairs(servers) do
 | 
			
		||||
 | 
			
		||||
		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)
 | 
			
		||||
		if config_exists then
 | 
			
		||||
			opts = vim.tbl_deep_extend("force", conf_opts, opts)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user