Add go ftplugin

This commit is contained in:
Kenneth Benzie 2024-05-14 21:41:59 +01:00
parent 61e4807f55
commit eade51e5b9

6
after/ftplugin/go.lua Normal file
View File

@ -0,0 +1,6 @@
vim.opt.expandtab = false
vim.opt.tabstop = 4
vim.opt.shiftwidth = 4
vim.opt.softtabstop = 4
vim.wo.listchars = 'extends:»,nbsp:⦸,precedes:«,tab: ,trail:·'
vim.bo.formatprg = 'gofmt'