view runtime/ftplugin/nanorc.vim @ 3186:c025592d7b1d v7.3.363

updated for version 7.3.363 Problem: C indenting is wrong after #endif followed by a semicolon. Solution: Add special handling for a semicolon in a line by itself. (Lech Lorens)
author Bram Moolenaar <bram@vim.org>
date Wed, 30 Nov 2011 17:20:23 +0100
parents f4f8014d516e
children 1218c5353e2b
line wrap: on
line source

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

let &cpo = s:cpo_save
unlet s:cpo_save