annotate runtime/ftplugin/udevperm.vim @ 8132:f96536c291d8
v7.4.1360
commit https://github.com/vim/vim/commit/0ba75a9714884895b2ac09733158c47544a8dfb9
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 19 23:21:26 2016 +0100
patch 7.4.1360
Problem: Can't remove a callback with ch_setoptions().
Solution: When passing zero or an empty string remove the callback.
author |
Christian Brabandt <cb@256bit.org> |
date |
Fri, 19 Feb 2016 23:30:04 +0100 |
parents |
f4f8014d516e |
children |
1218c5353e2b |
rev |
line source |
389
|
1 " Vim filetype plugin file
|
|
2 " Language: udev(8) permissions file
|
839
|
3 " Maintainer: Nikolai Weibull <now@bitwi.se>
|
1698
|
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
|