diff --git a/modules/languages/ts.nix b/modules/languages/ts.nix index 8c2efe29..2d651ede 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