annotate runtime/ftplugin/hostsaccess.vim @ 6222:63121fdd093f
v7.4.446
updated for version 7.4.446
Problem: In some situations, when setting up an environment to trigger an
autocommand, the environment is not properly restored.
Solution: Check the return value of switch_win() and call restore_win()
always. (Daniel Hahler)
author |
Bram Moolenaar <bram@vim.org> |
date |
Fri, 19 Sep 2014 14:26:36 +0200 |
parents |
f4f8014d516e |
children |
1218c5353e2b |
rev |
line source |
1698
|
1 " Vim filetype plugin file
|
|
2 " Language: hosts_access(5) control file
|
|
3 " Maintainer: Nikolai Weibull <now@bitwi.se>
|
|
4 " Latest Revision: 2008-07-09
|
|
5
|
|
6 if exists("b:did_ftplugin")
|
|
7 finish
|
|
8 endif
|
|
9 let b:did_ftplugin = 1
|
|
10
|
|
11 let s:cpo_save = &cpo
|
|
12 set cpo&vim
|
|
13
|
|
14 let b:undo_ftplugin = "setl com< cms< fo<"
|
|
15
|
|
16 setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
|
|
17
|
|
18 let &cpo = s:cpo_save
|
|
19 unlet s:cpo_save
|