mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix(go): add redundancy to null-ls config
This commit is contained in:
parent
d71ebeab24
commit
1488551695
1 changed files with 1 additions and 0 deletions
|
|
@ -83,6 +83,7 @@ return {
|
||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
if type(opts.sources) == "table" then
|
if type(opts.sources) == "table" then
|
||||||
local nls = require("null-ls")
|
local nls = require("null-ls")
|
||||||
|
opts.sources = opts.sources or {}
|
||||||
vim.list_extend(opts.sources, {
|
vim.list_extend(opts.sources, {
|
||||||
nls.builtins.code_actions.gomodifytags,
|
nls.builtins.code_actions.gomodifytags,
|
||||||
nls.builtins.code_actions.impl,
|
nls.builtins.code_actions.impl,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue