view runtime/ftplugin/racc.vim @ 6501:b7b3afcae90e v7.4.578

updated for version 7.4.578 Problem: Using getcurpos() after "$" in an empty line returns a negative number. Solution: Don't add one when this would overflow. (Hirohito Higashi)
author Bram Moolenaar <bram@vim.org>
date Wed, 14 Jan 2015 19:00:38 +0100
parents f4f8014d516e
children 1218c5353e2b
line wrap: on
line source

" Vim filetype plugin file
" Language:         Racc input 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=s1:/*,mb:*,ex:*/,:# commentstring=#\ %s
setlocal formatoptions-=t formatoptions+=croql

let &cpo = s:cpo_save
unlet s:cpo_save