nvim: un-disable null-ls and add jq for formatting
This commit is contained in:
parent
22f15d427e
commit
14a6f1f168
1 changed files with 2 additions and 3 deletions
|
@ -200,14 +200,13 @@ return require('packer').startup({function()
|
||||||
}
|
}
|
||||||
use { -- null-ls: Support for lots of programming tools, but through nvim lsp
|
use { -- null-ls: Support for lots of programming tools, but through nvim lsp
|
||||||
'jose-elias-alvarez/null-ls.nvim',
|
'jose-elias-alvarez/null-ls.nvim',
|
||||||
disable = true,
|
requires = { 'nvim-lua/plenary.nvim' },
|
||||||
-- requires = { 'nvim-lua/plenary.nvim' },
|
|
||||||
config = function()
|
config = function()
|
||||||
local null_ls = require("null-ls")
|
local null_ls = require("null-ls")
|
||||||
require("null-ls").setup({
|
require("null-ls").setup({
|
||||||
sources = {
|
sources = {
|
||||||
null_ls.builtins.code_actions.refactoring,
|
null_ls.builtins.code_actions.refactoring,
|
||||||
null_ls.builtins.formatting.clang_format,
|
null_ls.builtins.formatting.jq,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue