Understand the core concepts of null-ls Sources
mainThe fundamental unit of operation in null-ls is a source. A source consists of:
- Method: Defines when the source runs (e.g., formatting, diagnostics).
- Generator: The logic that runs in response to a method request.
- Filetypes: A list determining which buffers activate the source.
You can check which sources are currently active for your buffer by running the command :NullLsInfo in Neovim.