Add go ftplugin
This commit is contained in:
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'
|
||||
Reference in New Issue
Block a user