mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 21:30:51 +00:00
feat(languages/ts): add denols
This commit is contained in:
parent
5196a65a43
commit
1c181f49ed
1 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue