Archived
0
0
Fork 0
This repository has been archived on 2024-02-06. You can view files and clone it, but cannot push or open issues or pull requests.
neovim-config/lua/user/lsp/nullls.lua

24 lines
524 B
Lua
Raw Normal View History

2022-07-09 13:10:31 +00:00
local null_ls_status_ok, null_ls = pcall(require, "null-ls")
if not null_ls_status_ok then
return
end
local formatting = null_ls.builtins.formatting
local code_actions = null_ls.builtins.code_actions
local diagnostics = null_ls.builtins.diagnostics
null_ls.setup({
debug = false,
sources = {
formatting.stylua,
code_actions.eslint_d,
diagnostics.eslint_d,
formatting.eslint_d,
2022-07-26 04:27:07 +00:00
diagnostics.markdownlint,
formatting.markdownlint,
diagnostics.yamllint,
2022-07-26 19:43:15 +00:00
formatting.rustfmt,
2022-08-05 06:00:46 +00:00
diagnostics.actionlint,
2022-07-09 13:10:31 +00:00
},
})