Use same settings for gomod filetype as go

This commit is contained in:
Kenneth Benzie 2025-08-26 20:40:28 +01:00
parent d261a49feb
commit 8653c8b4cd

6
after/ftplugin/gomod.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'