summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugin/gomod.vim
blob: 0d5d9ba9c28b22219152d0412e00ea415fee8ac0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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<'