Comments (5)
Hello! This doesn't seem to be an installation issue? I'm not sure I'm following what the problem is, or how typescript-language-server
relates to null-ls
🤔
from mason.nvim.
Sorry, I forgot to explain the whole scenario. The built-in tsc
diagnostics are configured: https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/lua/null-ls/builtins/diagnostics/tsc.lua
Which depend on the TypeScript compiler (tsc
), which is installed by mason
. Funny, because I didn't experience similar issues with the old version of the plugin, maybe something changed?
from mason.nvim.
Ah. No tsc
is not installed by Mason (in some cases it is bundled with another package, but it's never exposed "globally").
Which depend on the TypeScript compiler (
tsc
), which is installed bymason
. Funny, because I didn't experience similar issues with the old version of the plugin, maybe something changed?
If I had to guess you probably had tsc
installed globally before, and since then you've upgraded/changed your Node version and in doing so lost your old global npm
installations?
from mason.nvim.
I guess it's possible, maybe something in the LSP setup changed as well. Not sure. :|
Now I am thinking of it, maybe it would be a good idea to be able to pass a path to the tsc
compiler to null-ls itself. This would make sense for other tools managed by mason (for me, now it was either brew
or npm -g
).
What do you think about that, does it make sense?
from mason.nvim.
I'm pretty sure you can pass an absolute path to null-ls, if you provide the canonical name tsc
it will simply look for it in PATH
.
from mason.nvim.
Related Issues (20)
- [New package]: autocorrect HOT 2
- Lockfile or ability to freeze a certain package version HOT 2
- Deprecation of vim.tbl_xx functions trigger errors in latest Neovim versions
- Support ensure_installed directly in mason
- Update core utils to have version requirements [wget]
- Mason command is not working HOT 3
- LemMinX on x86_64 Linux HOT 3
- [New package]: Native rust ruff LSP HOT 2
- Couldn't install luacheck, linking issue HOT 2
- Mason won't install Ltex-ls
- [Docs] Python packages failing to install for Ubuntu (ensurepip is disabled in Debian/Ubuntu for the system python...) HOT 2
- Ubuntu 22.04 in WSL2 "Client pyright quit with exit code 127 and signal 0"
- [New Package]: please add support for `fish_lsp`` HOT 1
- rust-analyzer runs twice when installed by Mason
- Error running eslint: ENOENT: no such file or directory
- Packages installed using PowerShell & pwsh (on Windows) cause an error HOT 1
- JsonSchema error for rust-analyzer configuration schema HOT 3
- Error that won't let me update packages HOT 3
- 3rd party purl resolver api
- Avoid unnecessary warnings in the checkhealth report; perhaps filter which tests to run accordingly.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mason.nvim.