summaryrefslogtreecommitdiffstats
path: root/runtime/indent
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2007-05-10 18:32:52 +0000
committerBram Moolenaar <Bram@vim.org>2007-05-10 18:32:52 +0000
commit335437bb249a46c51109251ff50f1b9aa8828fc4 (patch)
tree7abe7d29b30035f0f04977ff4e70562a9bef2f9a /runtime/indent
parent79166c430b3bb0e15f1b96933636897b5a02a816 (diff)
updated for version 7.1b
Diffstat (limited to 'runtime/indent')
-rw-r--r--runtime/indent/rst.vim7
-rw-r--r--runtime/indent/yacc.vim5
2 files changed, 7 insertions, 5 deletions
diff --git a/runtime/indent/rst.vim b/runtime/indent/rst.vim
index e6fe2b554d..f936c9b2f6 100644
--- a/runtime/indent/rst.vim
+++ b/runtime/indent/rst.vim
@@ -1,7 +1,7 @@
" Vim indent file
-" Language: reStructuredText Documentation Format
+" Language: reStructuredText Documentation Format
" Maintainer: Nikolai Weibull <now@bitwi.se>
-" Latest Revision: 2006-04-19
+" Latest Revision: 2006-12-20
if exists("b:did_indent")
finish
@@ -10,6 +10,7 @@ let b:did_indent = 1
setlocal indentexpr=GetRSTIndent()
setlocal indentkeys=!^F,o,O
+setlocal nosmartindent
if exists("*GetRSTIndent")
finish
@@ -40,7 +41,7 @@ function GetRSTIndent()
let ind = ind - 2
elseif line =~ '^\s*\d\+\.\s'
let ind = ind - matchend(substitute(line, '^\s*', '', ''),
- \ '\d\+\.\s\+')
+ \ '\d\+\.\s\+')
elseif line =~ '^\s*\.\.'
let ind = ind - 3
else
diff --git a/runtime/indent/yacc.vim b/runtime/indent/yacc.vim
index 597a2cc83a..2ab7d7b38c 100644
--- a/runtime/indent/yacc.vim
+++ b/runtime/indent/yacc.vim
@@ -1,7 +1,7 @@
" Vim indent file
-" Language: YACC input file
+" Language: YACC input file
" Maintainer: Nikolai Weibull <now@bitwi.se>
-" Latest Revision: 2006-04-19
+" Latest Revision: 2006-12-20
" Only load this indent file when no other was loaded.
if exists("b:did_indent")
@@ -12,6 +12,7 @@ let b:did_indent = 1
setlocal indentexpr=GetYaccIndent()
setlocal indentkeys=!^F,o,O
+setlocal nosmartindent
" Only define the function once.
if exists("*GetYaccIndent")