Mercurial > vim
annotate runtime/ftplugin/treetop.vim @ 7007:5ea5bd9c18d2 v7.4.821
patch 7.4.821
Problem: Coverity reports a few problems.
Solution: Avoid the warnings. (Christian Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 11 Aug 2015 18:53:03 +0200 |
parents | 6f63330ec225 |
children | 1218c5353e2b |
rev | line source |
---|---|
2725 | 1 " Vim filetype plugin file |
2 " Language: Treetop | |
3 " Maintainer: Nikolai Weibull <now@bitwi.se> | |
4 " Latest Revision: 2011-03-14 | |
5 | |
6 if exists("b:did_ftplugin") | |
7 finish | |
8 endif | |
9 let b:did_ftplugin = 1 | |
10 | |
11 let s:cpo_save = &cpo | |
12 set cpo&vim | |
13 | |
14 setlocal comments=b:# commentstring=#\ %s formatoptions-=tcroq formatoptions+=l | |
15 | |
16 let b:undo_ftplugin = "setl com< cms< fo<" | |
17 | |
18 let &cpo = s:cpo_save | |
19 unlet s:cpo_save |