Add tabwidth options and golang stuff
This commit is contained in:
parent
721cb29480
commit
7911cca1ca
5 changed files with 131 additions and 1 deletions
17
lua/custom/plugins/go.lua
Normal file
17
lua/custom/plugins/go.lua
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue