view runtime/ftplugin/passwd.vim @ 6531:005a6b650866 v7.4.592

updated for version 7.4.592 Problem: When doing ":e foobar" when already editing "foobar" and 'buftype' is "nofile" the buffer is cleared. (Xavier de Gaye) Solution: Do no clear the buffer.
author Bram Moolenaar <bram@vim.org>
date Tue, 27 Jan 2015 11:26:15 +0100
parents f4f8014d516e
children 1218c5353e2b
line wrap: on
line source

" Vim filetype plugin file
" Language:         passwd(5) password file
" Maintainer:       Nikolai Weibull <now@bitwi.se>
" Latest Revision:  2008-07-09

if exists("b:did_ftplugin")
  finish
endif
let b:did_ftplugin = 1

let s:cpo_save = &cpo
set cpo&vim

let b:undo_ftplugin = "setl com< cms< fo<"

setlocal comments= commentstring= formatoptions-=tcroq formatoptions+=l

let &cpo = s:cpo_save
unlet s:cpo_save