annotate runtime/ftplugin/gyp.vim @ 31353:49bd0e97549d
v9.0.1010
patch 9.0.1010: stray warnings for existing swap files
Commit: https://github.com/vim/vim/commit/23526d2539e8679ea8df14e3a018101dedc3f391
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 5 15:50:41 2022 +0000
patch 9.0.1010: stray warnings for existing swap files
Problem: Stray warnings for existing swap files.
Solution: Wipe out the buffer until it has no name and no swap file.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Mon, 05 Dec 2022 17:00:05 +0100 |
parents |
1e91e26ceebf |
children |
|
rev |
line source |
30547
|
1 " Vim filetype plugin
|
|
2 " Language: GYP
|
|
3 " Maintainer: ObserverOfTime <chronobserver@disroot.org>
|
|
4 " Last Change: 2022 Sep 27
|
|
5
|
|
6 if exists('b:did_ftplugin')
|
|
7 finish
|
|
8 endif
|
|
9 let b:did_ftplugin = 1
|
|
10
|
|
11 setlocal formatoptions-=t
|
|
12 setlocal commentstring=#\ %s comments=b:#,fb:-
|
|
13
|
|
14 let b:undo_ftplugin = 'setlocal fo< cms< com<'
|