repos / dotfiles

my dotfiles

commit
2906a8e
parent
b49887f
author
Eric Bower
date
2024-10-22 13:11:20 -0400 EDT
chore: use ts_ls
2 files changed,  +10, -2
M dot_config/nvim/lua/plugin_config.lua
+5, -2
 1@@ -181,7 +181,7 @@ function setup_lsp()
 2     }
 3     if server_name == "denols" then
 4       opts.root_dir = nvim_lsp.util.root_pattern("deno.json", "deno.jsonc")
 5-    elseif server_name == "tsserver" then
 6+    elseif server_name == "ts_ls" then
 7       opts.root_dir = nvim_lsp.util.root_pattern("package.json")
 8       -- https://github.com/neovim/nvim-lspconfig/issues/2507#issuecomment-1471438640
 9       opts.single_file_support = false
10@@ -189,11 +189,14 @@ function setup_lsp()
11     nvim_lsp[server_name].setup(opts)
12   end
13 
14-  handler("tsserver")
15+  handler("ts_ls")
16   handler("denols")
17   handler("gopls")
18   handler("zls")
19   handler("pyright")
20+  handler("cssls")
21+  handler("html")
22+  handler("jsonls")
23   -- setup_folding()
24 end
25 
M dot_ssh/config
+5, -0
 1@@ -89,6 +89,11 @@ Host ppico
 2     IdentitiesOnly yes
 3     IdentityFile ~/.ssh/id_ed25519_pico
 4 
 5+Host ppipe
 6+    HostName pipe.pico.sh
 7+    IdentitiesOnly yes
 8+    IdentityFile ~/.ssh/id_ed25519_pico
 9+
10 Host p.*
11     HostName %h.sh
12     IdentitiesOnly yes