Skip to content

none-ls: updating + refactoring #1705

Open
@MattSturgeon

Description

@MattSturgeon

Overview issue to track specific issues, PRs, and ideas related to updating and refactoring none-ls.

  • Switch to mkNeovimPlugin (move options to settings)
  • Move sources.*.withArgs to sources.*.settings
  • Consider how enableLspFormat should work with rfc42 settings?
  • 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.
  • 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? }.
  • General refactoring
    • Use a mkModule-style helper: plugins/none-ls: refactor using mkSourcePlugin #1853
    • Move "builtin sources packages" list into a dedicated file
    • Simplify pkg states: can be derivation or bool, don't need null.
    • Move builtinPackages out of sync with builtins.json errors out of module and into a CI check
  • Replace IFD with update script plugin/none-ls: Use a generated file #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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions