Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
Vim
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Someone-Else
Vim
Commits
335437bb
Commit
335437bb
authored
17 years ago
by
Bram Moolenaar
Browse files
Options
Downloads
Patches
Plain Diff
updated for version 7.1b
parent
79166c43
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
runtime/indent/rst.vim
+4
-3
4 additions, 3 deletions
runtime/indent/rst.vim
runtime/indent/yacc.vim
+3
-2
3 additions, 2 deletions
runtime/indent/yacc.vim
runtime/spell/en.latin1.spl
+0
-0
0 additions, 0 deletions
runtime/spell/en.latin1.spl
src/structs.h
+3
-3
3 additions, 3 deletions
src/structs.h
with
10 additions
and
8 deletions
runtime/indent/rst.vim
+
4
−
3
View file @
335437bb
" 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
...
...
This diff is collapsed.
Click to expand it.
runtime/indent/yacc.vim
+
3
−
2
View file @
335437bb
" 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"
)
...
...
This diff is collapsed.
Click to expand it.
runtime/spell/en.latin1.spl
+
0
−
0
View file @
335437bb
No preview for this file type
This diff is collapsed.
Click to expand it.
src/structs.h
+
3
−
3
View file @
335437bb
...
...
@@ -265,7 +265,7 @@ typedef struct
}
visualinfo_T
;
/*
* stuctures used for undo
* st
r
uctures 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
* st
r
uctures 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 activ
e
entry */
int
w_tagstacklen
;
/* number of tags on stack */
/*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment