Mercurial > vim
annotate runtime/ftplugin/zsh.vim @ 17051:221d4b82bc0b v8.1.1525
patch 8.1.1525: cannot move a popup window with the mouse
commit https://github.com/vim/vim/commit/b53fb31a1e27a806396e38592055cfb3ebf43cf9
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jun 13 23:59:52 2019 +0200
patch 8.1.1525: cannot move a popup window with the mouse
Problem: Cannot move a popup window with the mouse.
Solution: Add the "drag" property and make it possible to drag a popup
window by its border.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 14 Jun 2019 00:00:08 +0200 |
parents | 45987b1b77dc |
children | 847a300aa244 |
rev | line source |
---|---|
375 | 1 " Vim filetype plugin file |
11914 | 2 " Language: Zsh shell script |
3 " Maintainer: Christian Brabandt <cb@256bit.org> | |
4 " Previous Maintainer: Nikolai Weibull <now@bitwi.se> | |
12968 | 5 " Latest Revision: 2017-11-22 |
11914 | 6 " License: Vim (see :h license) |
7 " Repository: https://github.com/chrisbra/vim-zsh | |
375 | 8 |
9 if exists("b:did_ftplugin") | |
10 finish | |
11 endif | |
12 let b:did_ftplugin = 1 | |
13 | |
1698 | 14 let s:cpo_save = &cpo |
15 set cpo&vim | |
16 | |
389 | 17 let b:undo_ftplugin = "setl com< cms< fo<" |
375 | 18 |
389 | 19 setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql |
1698 | 20 |
12968 | 21 let b:match_words = ',\<if\>:\<elif\>:\<else\>:\<fi\>' |
2698
b6471224d2af
Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
1698
diff
changeset
|
22 \ . ',\<case\>:^\s*([^)]*):\<esac\>' |
b6471224d2af
Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
1698
diff
changeset
|
23 \ . ',\<\%(select\|while\|until\|repeat\|for\%(each\)\=\)\>:\<done\>' |
b6471224d2af
Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
1698
diff
changeset
|
24 let b:match_skip = 's:comment\|string\|heredoc\|subst' |
b6471224d2af
Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
1698
diff
changeset
|
25 |
1698 | 26 let &cpo = s:cpo_save |
27 unlet s:cpo_save |