diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-07-16 22:28:52 +0200 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2024-07-17 11:11:58 +0200 |
commit | 498d9beed9117ce7b70add99ee6f1107ef9e7662 (patch) | |
tree | f1dda0f463c3b427af72f0173ba350cd51bed171 | |
parent | 5d8220bda0b668cdaf6d89cdf6fa4ba11e853034 (diff) | |
download | rneovim-498d9beed9117ce7b70add99ee6f1107ef9e7662.tar.gz rneovim-498d9beed9117ce7b70add99ee6f1107ef9e7662.tar.bz2 rneovim-498d9beed9117ce7b70add99ee6f1107ef9e7662.zip |
vim-patch:babea52: runtime(gomod): add recommended indent options to ftplugin
closes: vim/vim#15264
https://github.com/vim/vim/commit/babea52f4d2d7cf466c5b383a067078392b153dc
Co-authored-by: markmacode <code@mamo.aleeas.com>
-rw-r--r-- | runtime/ftplugin/gomod.vim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/ftplugin/gomod.vim b/runtime/ftplugin/gomod.vim index 0d5d9ba9c2..554c948eb0 100644 --- 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<' |