diff options
author | yuyk <77815791+yu-yk@users.noreply.github.com> | 2024-06-21 13:36:57 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-21 12:36:57 +0800 |
commit | 26c2a56d99f9435d6a32e42c9508cafc37ab7d72 (patch) | |
tree | 4747e79b289ae7c33ed928311756465be3af3317 | |
parent | 0e3e1e6b6d8370f1fcc9887d5cb931b131450a1c (diff) | |
download | rneovim-26c2a56d99f9435d6a32e42c9508cafc37ab7d72.tar.gz rneovim-26c2a56d99f9435d6a32e42c9508cafc37ab7d72.tar.bz2 rneovim-26c2a56d99f9435d6a32e42c9508cafc37ab7d72.zip |
vim-patch:6ccf6da: runtime(gomod): add gomod filetype plugin (#29433)
closes: vim/vim#15060
https://github.com/vim/vim/commit/6ccf6da7a2a7a0b9d1e23a905b091d762e911609
-rw-r--r-- | runtime/ftplugin/gomod.vim | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/runtime/ftplugin/gomod.vim b/runtime/ftplugin/gomod.vim new file mode 100644 index 0000000000..0d5d9ba9c2 --- /dev/null +++ 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<' |