-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use with an LSP host other than vscode? #55
Comments
Hey I'm using |
the only thing I've done differently is added a non-existent path as the paths array and used the @ts-strict comment instead so that my project is opt-in instead of opt-out... it works for tsc-strict but I get nothing in vim sadly |
Could you share you vim config? |
@KostkaBrukowa sure! here you go: https://gist.github.com/beaugunderson/7acffd22a8df616cba263655aaa6b6fe and alternately, since yours is working, if you share yours I can see how it differs from my own :) |
Just fyi, I ran across this issue and took many hours of debugging but I realized it was due to a pathing issue for me. Basically I had a few i.e. // main tsconfig.json in root
{
"compilerOptions": {
"plugins": [
{
"name": "typescript-strict-plugin",
"paths": [
"foo/bar/baz",
]
}
]
} // tsconfig.json in foo/bar
{
extends: "../../tsconfig.json"
} Above setup causes: tsserver root dir = Thus the following worked for me:
YMMV however |
Hi there, I'm using neovim with the
typescript-language-server
language server. How can I see my strict violations using this language server?I use mason to manage my LSP configs, so the version installed gets installed by mason as:
Anyone had luck getting this working in vim?
The text was updated successfully, but these errors were encountered: