Comments (6)
The LSP servers, linters and formatters can actually be installed in system-wide on most systems, which means they are executable everywhere and maybe we just don't need mason at all?
from nvimdots.
Maybe ask user whether to install stuffs manually or by mason, store the choice and enable mason if that is
true
?
Yeah that's what I meant by "optional," but ideally, I'd like to find a way to automatically bypass Mason without any user interaction. In my case, I'd love Mason to be available on my Mac, but to be automatically disabled on my FreeBSD workstation. Especially in jails when I'm doing certain experimentation, I certainly don't wanna specify that option manually lmao
from nvimdots.
Maybe we can add an option as "platform" in our custom
lazy.nvim
loader and utilized theenabled
flag inlazy.nvim
? Ifplatform = {"XXX OS" = false}
is not set, then it will default to install the plugin on whatever OS it's on. I personally would like to disablesniprun
on windows since it could not be installed on windows lol
lol that's a great idea! Tho we'll need a way to automatically register those sources with lspconfig/none-ls/dap then.
from nvimdots.
The LSP servers, linters and formatters can actually be installed in system-wide on most systems, which means they are executable everywhere and maybe we just don't need mason at all?
Exactly! Initially, I was thinking of completely removing Mason, but without it, we'd lose the ability to automatically install those dependencies on a freshly installed system, which is kinda like the two sides of the same coin lol
from nvimdots.
Maybe ask user whether to install stuffs manually or by mason, store the choice and enable mason if that is true
?
from nvimdots.
In my case, I'd love Mason to be available on my Mac, but to be automatically disabled on my FreeBSD workstation.
Maybe we can add an option as "platform" in our custom lazy.nvim
loader and utilized the enabled
flag in lazy.nvim
?
If platform = {"XXX OS" = false}
is not set, then it will default to install the plugin on whatever OS it's on.
I personally would like to disable sniprun
on windows since it could not be installed on windows lol
https://github.com/folke/lazy.nvim?tab=readme-ov-file#-plugin-spec
from nvimdots.
Related Issues (20)
- query.lua:259: query: invalid node type at position 574 for language swift HOT 10
- How to (re)install nvimdots HOT 5
- <C-V> in NvimTree can't work HOT 7
- In Inerst mode use <capslock> mapping <Esc> not work HOT 6
- How to custom user config for nvim-cmp mapping HOT 5
- replace `vim.tbl_islist()` with `vim.islist()` after `NVIM v0.10.0-dev-2560` HOT 3
- golang code hints default selected location is incorrect
- Color scheme HOT 2
- Sluggish WSL clipboard communication HOT 2
- skip lines when executing multiple macro operations HOT 9
- UI FIX HOT 3
- [migration] Nvim 0.10 Support HOT 2
- `<CR>` triggers autocompl instead of line break HOT 1
- Allow format timeouts to be set individually HOT 1
- Support per-language indent config for ibl HOT 3
- [RFC] Consider disable `lsp-signature` for lsp that supports placeholder HOT 1
- gitsigns are not compatible HOT 2
- Error when use `gr` to rename HOT 6
- how to disable update for a specific plugin
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 nvimdots.