From 1c181f49ed001c51b3864efcc4b81c90dd10c122 Mon Sep 17 00:00:00 2001 From: yavko Date: Sat, 29 Jul 2023 23:34:21 +0300 Subject: [PATCH 1/2] feat(languages/ts): add denols --- modules/languages/ts.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/modules/languages/ts.nix b/modules/languages/ts.nix index 8c2efe2..2d651ed 100644 --- a/modules/languages/ts.nix +++ b/modules/languages/ts.nix @@ -20,6 +20,17 @@ with builtins; let } ''; }; + denols = { + package = pkgs.deno; + lspConfig = '' + vim.g.markdown_fenced_languages = { "ts=typescript" } + lspconfig.denols.setup { + capabilities = capabilities; + on_attach = attach_keymaps, + cmd = { "${cfg.lsp.package}/bin/deno", "lsp" } + } + ''; + }; }; # TODO: specify packages From 4ad86e9860561cdf6371df6957c6f696b5f81177 Mon Sep 17 00:00:00 2001 From: yavko Date: Sun, 30 Jul 2023 00:47:44 +0300 Subject: [PATCH 2/2] docs(release_notes): add denols note --- docs/release-notes/rl-0.5.adoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/release-notes/rl-0.5.adoc b/docs/release-notes/rl-0.5.adoc index 3da3c73..6a8651a 100644 --- a/docs/release-notes/rl-0.5.adoc +++ b/docs/release-notes/rl-0.5.adoc @@ -27,3 +27,7 @@ https://github.com/notashelf[notashelf]: * LSP integrated breadcrumbs with <> through nvim-navic * LSP navigation helper with nvim-navbuddy, depends on nvim-navic (automatically enabled) + +https://github.com/yavko[yavko]: + +* Added Deno Language Server for javascript/typescript