mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-02 17:14:56 +02:00
[Feature] Expose null ls setup to user config (#1323)
* expose null_ls setup to user config * add new config to example configs * fix tabs with stylua * change else statement in the example
This commit is contained in:
parent
9b36872d88
commit
ae1dea8b64
4 changed files with 34 additions and 1 deletions
2
init.lua
2
init.lua
|
@ -58,7 +58,7 @@ require("lsp").config()
|
|||
local null_status_ok, null_ls = pcall(require, "null-ls")
|
||||
if null_status_ok then
|
||||
null_ls.config {}
|
||||
require("lspconfig")["null-ls"].setup {}
|
||||
require("lspconfig")["null-ls"].setup(lvim.lsp.null_ls.setup)
|
||||
end
|
||||
|
||||
local lsp_settings_status_ok, lsp_settings = pcall(require, "nlspsettings")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue