view runtime/ftplugin/sudoers.vim @ 10293:0bf1d211e441 v8.0.0043

commit https://github.com/vim/vim/commit/9ec7fa82a2c4f0283862ed704c2940959e6130ee Author: Bram Moolenaar <Bram@vim.org> Date: Tue Oct 18 13:06:41 2016 +0200 patch 8.0.0043 Problem: When using Insert mode completion with 'completeopt' containing "noinsert" with CTRL-N the change is not saved for undo. (Tommy Allen) Solution: Call stop_arrow() before inserting for any key.
author Christian Brabandt <cb@256bit.org>
date Tue, 18 Oct 2016 13:15:05 +0200
parents f4f8014d516e
children 1218c5353e2b
line wrap: on
line source

" Vim filetype plugin file
" Language:         sudoers(5) configuration files
" 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=#\ %s formatoptions-=t formatoptions+=croql

let &cpo = s:cpo_save
unlet s:cpo_save