added golines
This commit is contained in:
parent
8a37b7072e
commit
ef39fefcd5
|
@ -33,7 +33,7 @@ return { -- Autoformat
|
||||||
python = { 'ruff_fix', 'ruff_format', 'ruff_organize_imports' },
|
python = { 'ruff_fix', 'ruff_format', 'ruff_organize_imports' },
|
||||||
-- You can use 'stop_after_first' to run the first available formatter from the list
|
-- You can use 'stop_after_first' to run the first available formatter from the list
|
||||||
javascript = { 'prettierd' },
|
javascript = { 'prettierd' },
|
||||||
go = { 'goimports' },
|
go = { 'goimports', 'golines' },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -255,6 +255,7 @@ return {
|
||||||
vim.list_extend(ensure_installed, {
|
vim.list_extend(ensure_installed, {
|
||||||
'stylua', -- Used to format Lua code
|
'stylua', -- Used to format Lua code
|
||||||
'goimports',
|
'goimports',
|
||||||
|
'golines',
|
||||||
'prettierd',
|
'prettierd',
|
||||||
})
|
})
|
||||||
require('mason-tool-installer').setup { ensure_installed = ensure_installed }
|
require('mason-tool-installer').setup { ensure_installed = ensure_installed }
|
||||||
|
|
Loading…
Reference in New Issue