Mercurial > vim
annotate runtime/ftplugin/expect.vim @ 31867:7d505d77f6da v9.0.1266
patch 9.0.1266: error for space before ": type" is inconsistent
Commit: https://github.com/vim/vim/commit/ce93d162da8de2419c15b63286e2f72a8fe3bf2d
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 30 21:12:34 2023 +0000
patch 9.0.1266: error for space before ": type" is inconsistent
Problem: Error for space before ": type" is inconsistent.
Solution: Give E1059 in more places. (closes https://github.com/vim/vim/issues/11868)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 30 Jan 2023 22:15:03 +0100 |
parents | 67f31c24291b |
children | 8ae680be2a51 |
rev | line source |
---|---|
29450 | 1 " Vim filetype plugin file |
2 " Language: Expect | |
3 " Maintainer: Doug Kearns <dougkearns@gmail.com> | |
4 " Last Change: 2022 Jul 16 | |
5 | |
6 if exists("b:did_ftplugin") | |
7 finish | |
8 endif | |
9 | |
10 " Syntax is similar to Tcl | |
11 runtime! ftplugin/tcl.vim | |
12 | |
13 let s:cpo_save = &cpo | |
14 set cpo&vim | |
15 | |
16 if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") | |
17 let b:browsefilter = "Expect Command Files (*.exp)\t*.exp\n" .. | |
18 \ "All Files (*.*)\t*.*\n" | |
19 endif | |
20 | |
21 let &cpo = s:cpo_save | |
22 unlet s:cpo_save | |
23 | |
24 " vim: nowrap sw=2 sts=2 ts=8 |