You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
354 B
Lua
15 lines
354 B
Lua
local null_ls = require 'null-ls'
|
|
|
|
local opts = {
|
|
sources = {
|
|
-- python tool
|
|
null_ls.builtins.formatting.black,
|
|
null_ls.builtins.diagnostics.mypy,
|
|
null_ls.builtins.diagnostics.ruff,
|
|
-- go tools
|
|
null_ls.builtins.formatting.gofmt,
|
|
null_ls.builtins.formatting.goimports_reviser,
|
|
null_ls.builtins.formatting.golines,
|
|
},
|
|
}
|