Use same settings for gomod filetype as go
This commit is contained in:
parent
d261a49feb
commit
8653c8b4cd
6
after/ftplugin/gomod.lua
Normal file
6
after/ftplugin/gomod.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