From 5147001f318ae56702d19ec832c9eaed5cf35e43 Mon Sep 17 00:00:00 2001 From: Linnnus Date: Thu, 5 Dec 2024 16:49:01 +0100 Subject: 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 --- hosts/muhammed/home/neovim/lsp.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'hosts/muhammed/home/neovim') 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") -- cgit v1.2.3