summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugin/gomod.vim
blob: 554c948eb0d5ea6a02ffdb1e9a95d4e624368d05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
" Vim filetype plugin file
" 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 et< fo< cms<'