changeset 35718:d572d128da45

runtime(gomod): add recommended indent options to ftplugin Commit: https://github.com/vim/vim/commit/babea52f4d2d7cf466c5b383a067078392b153dc Author: markmacode <code@mamo.aleeas.com> Date: Tue Jul 16 21:27:58 2024 +0200 runtime(gomod): add recommended indent options to ftplugin closes: https://github.com/vim/vim/issues/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>
author Christian Brabandt <cb@256bit.org>
date Wed, 17 Jul 2024 08:14:01 +0200
parents 99d97826842a
children 1be117f0a0a7
files runtime/ftplugin/gomod.vim
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/ftplugin/gomod.vim
+++ b/runtime/ftplugin/gomod.vim
@@ -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<'