mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
vim-patch:6ccf6da: runtime(gomod): add gomod filetype plugin (#29433)
closes: vim/vim#15060
6ccf6da7a2
This commit is contained in:
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