commit 26c2a56d99f9435d6a32e42c9508cafc37ab7d72 parent 0e3e1e6b6d8370f1fcc9887d5cb931b131450a1c Author: yuyk <77815791+yu-yk@users.noreply.github.com> Date: Fri, 21 Jun 2024 13:36:57 +0900 vim-patch:6ccf6da: runtime(gomod): add gomod filetype plugin (#29433) closes: vim/vim#15060 https://github.com/vim/vim/commit/6ccf6da7a2a7a0b9d1e23a905b091d762e911609 Diffstat:
| A | runtime/ftplugin/gomod.vim | | | 14 | ++++++++++++++ |
1 file changed, 14 insertions(+), 0 deletions(-)
diff --git a/runtime/ftplugin/gomod.vim b/runtime/ftplugin/gomod.vim @@ -0,0 +1,14 @@ +" Vim filetype plugin file +" Language: go module file +" Maintainer: YU YUK KUEN <yukkuen.yu719@gmail.com> +" Last Change: 2024-06-21 + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +setlocal formatoptions-=t formatoptions-=c +setlocal commentstring=//\ %s + +let b:undo_ftplugin = 'setl fo< cms<'