runtime(gomod): add recommended indent options to ftplugin
closes: #15264 Signed-off-by: markmacode <code@mamo.aleeas.com> 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
3e07d5aef1
commit
babea52f4d
@ -2,13 +2,15 @@
|
|||||||
" Language: go module file
|
" Language: go module file
|
||||||
" Maintainer: YU YUK KUEN <yukkuen.yu719@gmail.com>
|
" Maintainer: YU YUK KUEN <yukkuen.yu719@gmail.com>
|
||||||
" Last Change: 2024-06-21
|
" Last Change: 2024-06-21
|
||||||
|
" 2024 Jul 16 by Vim Project (noexpandtab)
|
||||||
|
|
||||||
if exists('b:did_ftplugin')
|
if exists('b:did_ftplugin')
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
let b:did_ftplugin = 1
|
let b:did_ftplugin = 1
|
||||||
|
|
||||||
|
setlocal noexpandtab
|
||||||
setlocal formatoptions-=t formatoptions-=c
|
setlocal formatoptions-=t formatoptions-=c
|
||||||
setlocal commentstring=//\ %s
|
setlocal commentstring=//\ %s
|
||||||
|
|
||||||
let b:undo_ftplugin = 'setl fo< cms<'
|
let b:undo_ftplugin = 'setl et< fo< cms<'
|
||||||
|
|||||||
Reference in New Issue
Block a user