summaryrefslogtreecommitdiff
path: root/hosts/muhammed/home
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/muhammed/home')
-rw-r--r--hosts/muhammed/home/dev-utils/default.nix1
-rw-r--r--hosts/muhammed/home/neovim/lsp.nix6
2 files changed, 2 insertions, 5 deletions
diff --git a/hosts/muhammed/home/dev-utils/default.nix b/hosts/muhammed/home/dev-utils/default.nix
index ac63f3d..f3c2df2 100644
--- a/hosts/muhammed/home/dev-utils/default.nix
+++ b/hosts/muhammed/home/dev-utils/default.nix
@@ -14,7 +14,6 @@
ffmpeg_6-full
# interpreaters
- cling
unstable.deno
(python311Full.withPackages (ps:
with ps; [
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")