mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-01 19:11:15 +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
|
# TODO: specify packages
|
||||||
|
|
Loading…
Reference in a new issue