mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-04-05 18:40:53 +00:00
languages/ts: add filetypes to tsgo so it only runs on relevant files
This commit is contained in:
parent
70fe609c5a
commit
a390f416d8
1 changed files with 8 additions and 0 deletions
|
|
@ -123,6 +123,14 @@
|
|||
|
||||
tsgo = {
|
||||
cmd = [(getExe pkgs.typescript-go) "--lsp" "--stdio"];
|
||||
filetypes = [
|
||||
"javascript"
|
||||
"javascriptreact"
|
||||
"javascript.jsx"
|
||||
"typescript"
|
||||
"typescriptreact"
|
||||
"typescript.tsx"
|
||||
];
|
||||
root_markers = ["tsconfig.json" "jsconfig.json" "package.json" ".git"];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue