summaryrefslogtreecommitdiff
path: root/hosts/muhammed/home/neovim
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2024-12-05 16:49:01 +0100
committerLinnnus <[email protected]>2024-12-06 08:31:48 +0100
commit5147001f318ae56702d19ec832c9eaed5cf35e43 (patch)
treec27f0365ea7ba27839990398cd9e4091f753d9a4 /hosts/muhammed/home/neovim
parenta2f2f142a64ea34637e1586728d6e4e33553040f (diff)
Bump nixpkgs 24.{05 => 11} and nixpkgs-unstable
- Bump perl input to pkgs/trash - Use {swiftPackages. => }xcbuild for pbv - Remove cling; was crashing and ) wasn't using it anyways - LSP tsserver was renamed to ts_ls
Diffstat (limited to 'hosts/muhammed/home/neovim')
-rw-r--r--hosts/muhammed/home/neovim/lsp.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/hosts/muhammed/home/neovim/lsp.nix b/hosts/muhammed/home/neovim/lsp.nix
index 0c7a642..c301bb0 100644
--- a/hosts/muhammed/home/neovim/lsp.nix
+++ b/hosts/muhammed/home/neovim/lsp.nix
@@ -62,7 +62,7 @@
cmd = { "${pkgs.unstable.deno}/bin/deno", "lsp" },
root_dir = function(startpath)
if util.find_package_json_ancestor(startpath) then
- -- This is a Node project; let tsserver handle this one.
+ -- This is a Node project; let ts_ls handle this one.
-- This exactly mirrors how typescript-langauge-server yields to this server for Deno projects.
return nil
else
@@ -73,9 +73,7 @@
end
end,
},
- -- NOTE: Will be renamed to ts_ls shortly
- -- See: https://github.com/neovim/nvim-lspconfig/commit/bdbc65aadc708ce528efb22bca5f82a7cca6b54d
- tsserver = {
+ ts_ls = {
cmd = { "${pkgs.nodePackages_latest.typescript-language-server}/bin/typescript-language-server", "--stdio" },
root_dir = function(startpath)
local find_deno_root_dir = util.root_pattern("deno.json", "deno.jsonc")