]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(gomod): add recommended indent options to ftplugin
authormarkmacode <code@mamo.aleeas.com>
Tue, 16 Jul 2024 19:27:58 +0000 (21:27 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 16 Jul 2024 19:30:32 +0000 (21:30 +0200)
closes: #15264

Signed-off-by: markmacode <code@mamo.aleeas.com>
Signed-off-by: yu-yk <yukkuen.yu@linktivity.co.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/ftplugin/gomod.vim

index 0d5d9ba9c28b22219152d0412e00ea415fee8ac0..554c948eb0d5ea6a02ffdb1e9a95d4e624368d05 100644 (file)
@@ -2,13 +2,15 @@
 " Language:    go module file
 " Maintainer:  YU YUK KUEN <yukkuen.yu719@gmail.com>
 " Last Change: 2024-06-21
+" 2024 Jul 16 by Vim Project (noexpandtab)
 
 if exists('b:did_ftplugin')
   finish
 endif
 let b:did_ftplugin = 1
 
+setlocal noexpandtab
 setlocal formatoptions-=t formatoptions-=c
 setlocal commentstring=//\ %s
 
-let b:undo_ftplugin = 'setl fo< cms<'
+let b:undo_ftplugin = 'setl et< fo< cms<'