mirror of
https://github.com/neovim/neovim.git
synced 2024-09-17 20:58:20 -04:00
vim-patch:babea52: runtime(gomod): add recommended indent options to ftplugin
closes: vim/vim#15264
babea52f4d
Co-authored-by: markmacode <code@mamo.aleeas.com>
This commit is contained in:
parent
5d8220bda0
commit
498d9beed9
@ -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<'
|
||||
|
Loading…
Reference in New Issue
Block a user