feat(languages/ts): add denols

This commit is contained in:
yavko 2023-07-29 23:34:21 +03:00
parent 5196a65a43
commit 1c181f49ed
No known key found for this signature in database
GPG key ID: F07D19A32407F857

View file

@ -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