From d9df819e6665709418a2ca6f325a2a01e2a38697 Mon Sep 17 00:00:00 2001 From: abs3nt Date: Fri, 3 Mar 2023 00:46:52 -0800 Subject: [PATCH] updates --- lua/plugins.lua | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lua/plugins.lua b/lua/plugins.lua index 0a872fa..d98f687 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -14,12 +14,9 @@ return { { 'nvim-treesitter/nvim-treesitter', config = function() - require 'nvim-treesitter.configs'.setup({ + require 'nvim-treesitter.configs'.setup { auto_install = true, - highlight = { - enable = true, - } - }) + } end }, @@ -29,6 +26,10 @@ 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 },