mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-04-06 10:59:32 +00:00
languages/ts: add tsgo as LSP
This commit is contained in:
parent
8aad181ec9
commit
c174a66112
2 changed files with 8 additions and 0 deletions
|
|
@ -246,6 +246,9 @@
|
||||||
- Fix `languages.hcl` init, depending on `comment-nvim` by checking if it is
|
- Fix `languages.hcl` init, depending on `comment-nvim` by checking if it is
|
||||||
enabled. Fixes a crash (#1350).
|
enabled. Fixes a crash (#1350).
|
||||||
|
|
||||||
|
- Added [`tsgo`](https://github.com/microsoft/typescript-go) as an LSP to
|
||||||
|
`languages.ts`.
|
||||||
|
|
||||||
- Add `languages.fluent` using the official plugin. This only provides
|
- Add `languages.fluent` using the official plugin. This only provides
|
||||||
highlighting.
|
highlighting.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -120,6 +120,11 @@
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
tsgo = {
|
||||||
|
cmd = [(getExe pkgs.typescript-go) "--lsp" "--stdio"];
|
||||||
|
root_markers = ["tsconfig.json" "jsconfig.json" "package.json" ".git"];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
denols_handlers = ''
|
denols_handlers = ''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue