Mercurial > vim
annotate runtime/ftplugin/meson.vim @ 25022:39551b6e0112 v8.2.3048
patch 8.2.3048: strange error for white space after ++ command
Commit: https://github.com/vim/vim/commit/22480d147fe83cb31316d2dabc5c5f249477af15
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jun 25 21:31:09 2021 +0200
patch 8.2.3048: strange error for white space after ++ command
Problem: Strange error for white space after ++ command.
Solution: Check for white space explicitly. (closes https://github.com/vim/vim/issues/8440)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 25 Jun 2021 21:45:03 +0200 |
parents | 840665e74421 |
children | babd9f1dbe12 |
rev | line source |
---|---|
18456 | 1 " Vim filetype plugin file |
2 " Language: meson | |
3 " License: VIM License | |
24636 | 4 " Maintainer: Liam Beguin <liambeguin@gmail.com> |
18456 | 5 " Original Author: Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
6 " Last Change: 2018 Nov 27 | |
7 | |
8 if exists("b:did_ftplugin") | finish | endif | |
9 let b:did_ftplugin = 1 | |
10 let s:keepcpo= &cpo | |
11 set cpo&vim | |
12 | |
13 setlocal commentstring=#\ %s | |
14 setlocal comments=:# | |
15 | |
16 setlocal shiftwidth=2 | |
17 setlocal softtabstop=2 | |
18 | |
19 let &cpo = s:keepcpo | |
20 unlet s:keepcpo |