.dotfiles/nvim/lua/null-ls-config.lua

16 lines
393 B
Lua
Raw Normal View History

2022-10-01 19:16:44 +02:00
local null_ls = require("null-ls")
null_ls.setup({
2022-09-12 20:04:17 +02:00
sources = {
-- FORMATTING
2022-10-01 19:16:44 +02:00
null_ls.builtins.formatting.stylua,
null_ls.builtins.formatting.eslint,
2022-09-12 20:04:17 +02:00
-- DIAGNOSTICS
2022-10-01 19:16:44 +02:00
null_ls.builtins.diagnostics.eslint,
2022-09-12 20:04:17 +02:00
-- COMPLETIONS
2022-10-01 19:16:44 +02:00
null_ls.builtins.completion.spell,
-- CODE ACTIONS
null_ls.builtins.code_actions.gitsigns
2022-09-12 20:04:17 +02:00
},
})