runtime(gomod): add recommended indent options to ftplugin Commit: https://github.com/vim/vim/commit/babea52f4d2d7cf466c5b383a067078392b153dc Author: markmacode <c...@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 <c...@mamo.aleeas.com> Signed-off-by: yu-yk <yukkuen...@linktivity.co.jp> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/runtime/ftplugin/gomod.vim b/runtime/ftplugin/gomod.vim index 0d5d9ba9c..554c948eb 100644 --- a/runtime/ftplugin/gomod.vim +++ b/runtime/ftplugin/gomod.vim @@ -2,13 +2,15 @@ " Language: go module file " Maintainer: YU YUK KUEN <yukkuen.yu...@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<' -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/E1sTxvN-0091VW-T9%40256bit.org.