Comments (9)
I'm not sure if I understand. Tried to use the LSPconfig + Mason (for other LSP support) still don't get any support in my files.
from mason.nvim.
Hello! Cool! Pull requests are always very welcomed to add new packages. If the distribution of the
package is simple, the installation will most likely be so as well (existing package installers may be
used for reference!). Otherwise, @williamboman will get around to looking into this ASAP!
from mason.nvim.
Hello! This was requested the other day: #136 (comment)
These things come bundled with the Dart executable. Don’t you have it installed? Or is there some other reason you’d like it to be available via Mason?
from mason.nvim.
Formatting and linting works. However I'm not able to do do any code actions, get diagnostics, type info and such using vim.lsp
because I don't have dart-ls.
from mason.nvim.
@StevenJPx2 I am currently using both williamboman/mason.nvim
and williamboman/mason-lspconfig.nvim
in my config to bridge the lsp name differences between mason
and lspconfig
.
Are you sure that you called lspconfig.dartls.setup()
in your config? I have all vim.lsp
available in dart
filetype buffer with dart
installed in my environment. I do not think there is anything mason
can provide in this case since language server, formatter, linter are all from dart
itself.
from mason.nvim.
because I don't have dart-ls.
I'm not sure I follow what dart-ls is? Here's for example the command lspconfig provides for the dart language server: https://github.com/neovim/nvim-lspconfig/blob/master/lua/lspconfig/server_configurations/dartls.lua#L5
from mason.nvim.
@StevenJPx2 I am currently using both
williamboman/mason.nvim
andwilliamboman/mason-lspconfig.nvim
in my config to bridge the lsp name differences betweenmason
andlspconfig
. Are you sure that you calledlspconfig.dartls.setup()
in your config? I have allvim.lsp
available indart
filetype buffer withdart
installed in my environment. I do not think there is anythingmason
can provide in this case since language server, formatter, linter are all fromdart
itself.
AAAh. Never needed to do this for nvim-lsp-installer, so I didn't set it up. But it works now. But to your other point, nvim-lsp-installer did have the server for dart lsp.
from mason.nvim.
Yeah, dartls
is only registry for dart
lsp in nvim-lsp-installer
here. Technically it only checks if dart
is installed in the environment or not.
from mason.nvim.
But to your other point, nvim-lsp-installer did have the server for dart lsp.
Ah I forgot about this. I remember deciding to remove it because of reasons I mentioned in the other comment I linked to. I am however a bit incosistent with this as deno
exists as a package (they have the exact same approach).
from mason.nvim.
Related Issues (20)
- Mason chooses wrong python version. HOT 2
- [New package]: cljfmt HOT 1
- When two registry releases are publised on the same day, older version is downloaded by mason.nvim HOT 5
- require("mason-registry").get_package("...") returns error "cannot find package..." sometimes HOT 1
- Checkhealth fails to report luarocks version number HOT 4
- Remove null-ls from recommended linters and formatters HOT 3
- [New package]: markdown-oxide HOT 2
- Installing clang-format doesn't add it to $PATH HOT 1
- ensure_installed is hidden and not documented in project markdown documentation
- Tell people when some packages are missing
- Failed install when using shims: Tried to link bin "goimports" to non-existent target "goimport". HOT 3
- [Bug] `basedpyright` installation issue HOT 1
- [java-debug-adapter & jdtls] Install older versions of packages
- swift-mesonlsp is deprecated
- jdtls: when installing it uses version 1.31.0 but on every startup it tires to look for version 1.33.0
- Error while installing phpactor HOT 1
- gopls installation fails HOT 1
- lldb-mi don't have permision for running
- Strictly choose a utility (curl or wget) to synchronize registers via Mason configuration and reduce these register requests
- Multiple Packages Installation Fail HOT 4
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.