updates
This commit is contained in:
parent
e8de976656
commit
04a7eec6d2
@ -14,9 +14,12 @@ return {
|
||||
{
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
config = function()
|
||||
require 'nvim-treesitter.configs'.setup {
|
||||
require 'nvim-treesitter.configs'.setup({
|
||||
auto_install = true,
|
||||
}
|
||||
highlight = {
|
||||
enable = true,
|
||||
}
|
||||
})
|
||||
end
|
||||
},
|
||||
|
||||
@ -26,10 +29,6 @@ return {
|
||||
ft = { "go", "gomod" },
|
||||
config = function()
|
||||
vim.g.go_fmt_command = "gofumpt"
|
||||
vim.g.go_highlight_types = 1
|
||||
vim.g.go_highlight_fields = 1
|
||||
vim.g.go_highlight_functions = 1
|
||||
vim.g.go_highlight_function_calls = 1
|
||||
vim.g.go_metalinter_command = 'golangci-lint'
|
||||
end
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user