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:
@@ -1,7 +1,7 @@
|
|||||||
" Vim indent file
|
" Vim indent file
|
||||||
" Language: reStructuredText Documentation Format
|
" Language: reStructuredText Documentation Format
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2006-04-19
|
" Latest Revision: 2006-12-20
|
||||||
|
|
||||||
if exists("b:did_indent")
|
if exists("b:did_indent")
|
||||||
finish
|
finish
|
||||||
@@ -10,6 +10,7 @@ let b:did_indent = 1
|
|||||||
|
|
||||||
setlocal indentexpr=GetRSTIndent()
|
setlocal indentexpr=GetRSTIndent()
|
||||||
setlocal indentkeys=!^F,o,O
|
setlocal indentkeys=!^F,o,O
|
||||||
|
setlocal nosmartindent
|
||||||
|
|
||||||
if exists("*GetRSTIndent")
|
if exists("*GetRSTIndent")
|
||||||
finish
|
finish
|
||||||
@@ -40,7 +41,7 @@ function GetRSTIndent()
|
|||||||
let ind = ind - 2
|
let ind = ind - 2
|
||||||
elseif line =~ '^\s*\d\+\.\s'
|
elseif line =~ '^\s*\d\+\.\s'
|
||||||
let ind = ind - matchend(substitute(line, '^\s*', '', ''),
|
let ind = ind - matchend(substitute(line, '^\s*', '', ''),
|
||||||
\ '\d\+\.\s\+')
|
\ '\d\+\.\s\+')
|
||||||
elseif line =~ '^\s*\.\.'
|
elseif line =~ '^\s*\.\.'
|
||||||
let ind = ind - 3
|
let ind = ind - 3
|
||||||
else
|
else
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
" Vim indent file
|
" Vim indent file
|
||||||
" Language: YACC input file
|
" Language: YACC input file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" 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.
|
" Only load this indent file when no other was loaded.
|
||||||
if exists("b:did_indent")
|
if exists("b:did_indent")
|
||||||
@@ -12,6 +12,7 @@ let b:did_indent = 1
|
|||||||
|
|
||||||
setlocal indentexpr=GetYaccIndent()
|
setlocal indentexpr=GetYaccIndent()
|
||||||
setlocal indentkeys=!^F,o,O
|
setlocal indentkeys=!^F,o,O
|
||||||
|
setlocal nosmartindent
|
||||||
|
|
||||||
" Only define the function once.
|
" Only define the function once.
|
||||||
if exists("*GetYaccIndent")
|
if exists("*GetYaccIndent")
|
||||||
|
Binary file not shown.
@@ -265,7 +265,7 @@ typedef struct
|
|||||||
} visualinfo_T;
|
} visualinfo_T;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* stuctures used for undo
|
* structures used for undo
|
||||||
*/
|
*/
|
||||||
|
|
||||||
typedef struct u_entry u_entry_T;
|
typedef struct u_entry u_entry_T;
|
||||||
@@ -307,7 +307,7 @@ struct u_header
|
|||||||
#define UH_EMPTYBUF 0x02 /* buffer was empty */
|
#define UH_EMPTYBUF 0x02 /* buffer was empty */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* stuctures used in undo.c
|
* structures used in undo.c
|
||||||
*/
|
*/
|
||||||
#if SIZEOF_INT > 2
|
#if SIZEOF_INT > 2
|
||||||
# define ALIGN_LONG /* longword alignment and use filler byte */
|
# define ALIGN_LONG /* longword alignment and use filler byte */
|
||||||
@@ -1946,7 +1946,7 @@ struct window_S
|
|||||||
* entry 2: newest
|
* entry 2: newest
|
||||||
*/
|
*/
|
||||||
taggy_T w_tagstack[TAGSTACKSIZE]; /* the tag stack */
|
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 */
|
int w_tagstacklen; /* number of tags on stack */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user