Add tabwidth options and golang stuff

This commit is contained in:
Noah Håkansson 2024-01-30 17:24:57 +01:00
parent 721cb29480
commit 7911cca1ca
5 changed files with 131 additions and 1 deletions

17
lua/custom/plugins/go.lua Normal file
View file

@ -0,0 +1,17 @@
local M = {
'ray-x/go.nvim',
dependencies = { -- optional packages
'ray-x/guihua.lua',
'neovim/nvim-lspconfig',
'nvim-treesitter/nvim-treesitter',
},
ft = { 'go', 'gomod' },
build = ':lua require("go.install").update_all_sync()', -- if you need to install/update all binaries
}
function M.config()
-- setup your go.nvim
require('go').setup({})
end
return M