comparison runtime/indent/yacc.vim @ 1216:35a1d7bd6191

updated for version 7.1b
author vimboss
date Thu, 10 May 2007 18:32:52 +0000
parents 8cd729851562
children 1218c5353e2b
comparison
equal deleted inserted replaced
1215:1d08aac0aea9 1216:35a1d7bd6191
1 " Vim indent file 1 " Vim indent file
2 " Language: YACC input file 2 " Language: YACC input file
3 " Maintainer: Nikolai Weibull <now@bitwi.se> 3 " Maintainer: Nikolai Weibull <now@bitwi.se>
4 " Latest Revision: 2006-04-19 4 " Latest Revision: 2006-12-20
5 5
6 " Only load this indent file when no other was loaded. 6 " Only load this indent file when no other was loaded.
7 if exists("b:did_indent") 7 if exists("b:did_indent")
8 finish 8 finish
9 endif 9 endif
10 10
11 let b:did_indent = 1 11 let b:did_indent = 1
12 12
13 setlocal indentexpr=GetYaccIndent() 13 setlocal indentexpr=GetYaccIndent()
14 setlocal indentkeys=!^F,o,O 14 setlocal indentkeys=!^F,o,O
15 setlocal nosmartindent
15 16
16 " Only define the function once. 17 " Only define the function once.
17 if exists("*GetYaccIndent") 18 if exists("*GetYaccIndent")
18 finish 19 finish
19 endif 20 endif