mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-21 17:59:48 +01: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