nixvim
nixvim copied to clipboard
none-ls: updating + refactoring
Overview issue to track specific issues, PRs, and ideas related to updating and refactoring none-ls.
- [x] Switch to
mkNeovimPlugin(move options tosettings)- [x] #1727
- [ ] Move
sources.*.withArgstosources.*.settings- [ ] #1724
- [ ] Use
either strLua submoduleto allow a rename-alias - [ ] Include "filetypes" from
builtins.jsonin option types/defaults/descriptions?
- [ ] Consider how
enableLspFormatshould work with rfc42settings?- [ ] When enabled, it sets
on_attachdefault torequire('lsp-format').on_attach. - [ ] Maybe we should just suggest users include this in their
on_attachmanually? - [x] Current description is misleading: #1690
- [ ] When enabled, it sets
- [ ] Deprecate auto-enabling gitsigns?
- [ ] Show a warning if there are not multiple definitions of
plugins.gitsigns.enable. - [ ] Eventually, show a warning instead of auto-enabling.
- [ ] Show a warning if there are not multiple definitions of
- [ ] Chore: attempt re-enabling disabled sources tests
- [ ] Support "custom" sources submodules
- [ ] Custom sources need to be registered first
- [ ] Submodule shape:
{ method, generator, filetypes[], name?, condition? }.
- [x] General refactoring
- [x] Use a
mkModule-style helper: #1853 - [x] Move "builtin sources packages" list into a dedicated file
- [x] Simplify pkg states: can be
derivation or bool, don't neednull. - [x] Move
builtinPackagesout of sync withbuiltins.jsonerrors out of module and into a CI check
- [x] Use a
- [x] Replace IFD with update script https://github.com/nix-community/nixvim/pull/1814
General notes and discussion can be had on this issue, but I'd encourage opening discussions or issues for specific issues. These can be linked in the relevant checklist above.
Tagging @traxys because he's done most of the work on the none-ls module so far.