0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

updated for version 7.1b

This commit is contained in:
Bram Moolenaar
2007-05-10 18:32:52 +00:00
parent 79166c430b
commit 335437bb24
4 changed files with 10 additions and 8 deletions

View File

@@ -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

View File

@@ -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")

Binary file not shown.

View File

@@ -265,7 +265,7 @@ typedef struct
} visualinfo_T;
/*
* stuctures used for undo
* structures used for undo
*/
typedef struct u_entry u_entry_T;
@@ -307,7 +307,7 @@ struct u_header
#define UH_EMPTYBUF 0x02 /* buffer was empty */
/*
* stuctures used in undo.c
* structures used in undo.c
*/
#if SIZEOF_INT > 2
# define ALIGN_LONG /* longword alignment and use filler byte */
@@ -1946,7 +1946,7 @@ struct window_S
* entry 2: newest
*/
taggy_T w_tagstack[TAGSTACKSIZE]; /* the tag stack */
int w_tagstackidx; /* idx just below activ entry */
int w_tagstackidx; /* idx just below active entry */
int w_tagstacklen; /* number of tags on stack */
/*