# HG changeset patch # User nanaya # Date 1665645367 -32400 # Node ID ae7f2fb75cdf61771ef935470512d826cf85d742 # Parent 5ebfac7426e5eeaa2046cd555658702ed0a20968 [vimrc] Disable auto comment diff -r 5ebfac7426e5 -r ae7f2fb75cdf rc/vimrc --- a/rc/vimrc Thu Sep 15 03:00:38 2022 +0900 +++ b/rc/vimrc Thu Oct 13 16:16:07 2022 +0900 @@ -143,6 +143,12 @@ autocmd FileType typescriptreact call In2() autocmd FileType nginx setlocal commentstring=#\ %s autocmd FileType nginx setlocal iskeyword& + + " https://vimdoc.sourceforge.net/htmldoc/change.html#fo-table + " disable comment auto format + autocmd BufRead,BufNewFile * setlocal formatoptions-=c + autocmd BufRead,BufNewFile * setlocal formatoptions-=r + autocmd BufRead,BufNewFile * setlocal formatoptions-=o endif if has('autocmd')