annotate runtime/ftplugin/protocols.vim @ 13927:ec54a202ad0c
v8.0.1834
patch 8.0.1834: GUI: find/replace dialog does not handle some chars
commit https://github.com/vim/vim/commit/518bc174ed34dc79303488914aaaa3c238a85080
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 13 17:05:30 2018 +0200
patch 8.0.1834: GUI: find/replace dialog does not handle some chars
Problem: GUI: find/replace dialog does not handle some chars properly.
Solution: Escape '?' when needed. Always escape backslash. (closes https://github.com/vim/vim/issues/2418,
closes #2435)
author |
Christian Brabandt <cb@256bit.org> |
date |
Sun, 13 May 2018 17:15:05 +0200 |
parents |
1218c5353e2b |
children |
|
rev |
line source |
389
|
1 " Vim filetype plugin file
|
11062
|
2 " Language: protocols(5) - Internet protocols definition file
|
|
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
|
4 " Latest Revision: 2008-07-09
|
389
|
5
|
|
6 if exists("b:did_ftplugin")
|
|
7 finish
|
|
8 endif
|
|
9 let b:did_ftplugin = 1
|
|
10
|
1698
|
11 let s:cpo_save = &cpo
|
|
12 set cpo&vim
|
|
13
|
389
|
14 let b:undo_ftplugin = "setl com< cms< fo<"
|
|
15
|
|
16 setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
|
1698
|
17
|
|
18 let &cpo = s:cpo_save
|
|
19 unlet s:cpo_save
|