Add go ftplugin
This commit is contained in:
parent
61e4807f55
commit
eade51e5b9
6
after/ftplugin/go.lua
Normal file
6
after/ftplugin/go.lua
Normal 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'
|
Loading…
x
Reference in New Issue
Block a user