Mercurial > vim
view runtime/ftplugin/groovy.vim @ 22673:67aa7507ea2e v8.2.1885
patch 8.2.1885: filetype tests unnessarily creates swap files
Commit: https://github.com/vim/vim/commit/2733779a1a36c06f5f900666ac94bfe4c25ea39b
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Oct 22 12:33:32 2020 +0200
patch 8.2.1885: filetype tests unnessarily creates swap files
Problem: Filetype tests unnessarily creates swap files.
Solution: Disable 'swapfile'. (Ken Takata, closes https://github.com/vim/vim/issues/7183)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 22 Oct 2020 12:45:05 +0200 |
parents | bc38030aec7d |
children | 7c7432a53a6c |
line wrap: on
line source
" Vim filetype plugin file " Language: groovy " Maintainer: Justin M. Keyes <justinkz@gmail.com> " Last Change: 2016 May 22 if exists('b:did_ftplugin') finish endif let b:did_ftplugin = 1 let s:cpo_save = &cpo set cpo-=C let b:undo_ftplugin = 'setlocal commentstring<' setlocal commentstring=//%s let &cpo = s:cpo_save unlet s:cpo_save