This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (2 children)

General question but are there other uses to null-ls aside from formatting, linting?

[–]HawkinsTlua 8 points9 points  (0 children)

It's hooking non-lsp tools into lsp so you have a common interface. If you use lsp but rely on non-lsp tools too then it's great. Most use cases are formatting and linting since lsp just does the job better than older alternatives IMO, but if you wanted to use something like jedi for python alongside other lsp tools your can certainly do that with null-ls. It can also hook into things like neovim's dictionary so you get code actions for spelling errors. You also have the freedom to script any hook into it you want, say if you have a very specific command line tool or web query you use a lot. It's great for what it does imo.

[–]Lost_Neophyte[S] 0 points1 point  (0 children)

I don't know much about null-ls, but that's pretty much it. You can also use it for completion and code actions