annotate runtime/ftplugin/passwd.vim @ 10174:b17c82587755
v7.4.2357
commit https://github.com/vim/vim/commit/46643713dc6bb04b4e84986b1763ef309e960161
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Sep 9 21:42:36 2016 +0200
patch 7.4.2357
Problem: Attempt to read history entry while not initialized.
Solution: Skip when the index is negative.
author |
Christian Brabandt <cb@256bit.org> |
date |
Fri, 09 Sep 2016 21:45:06 +0200 |
parents |
f4f8014d516e |
children |
1218c5353e2b |
rev |
line source |
389
|
1 " Vim filetype plugin file
|
|
2 " Language: passwd(5) password 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= formatoptions-=tcroq formatoptions+=l
|
1698
|
17
|
|
18 let &cpo = s:cpo_save
|
|
19 unlet s:cpo_save
|