runtime(gomod): add gomod filetype plugin
closes: #15060 Signed-off-by: yu-yk <yukkuen.yu@linktivity.co.jp> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
d09521476f
commit
6ccf6da7a2
14
runtime/ftplugin/gomod.vim
Normal file
14
runtime/ftplugin/gomod.vim
Normal file
@ -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<'
|
||||
Reference in New Issue
Block a user