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
5b88ba47
Commit
5b88ba47
authored
15 years ago
by
Bram Moolenaar
Browse files
Options
Downloads
Patches
Plain Diff
updated for version 7.2-278
parent
fa316dd1
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/fold.c
+3
-3
3 additions, 3 deletions
src/fold.c
src/version.c
+2
-0
2 additions, 0 deletions
src/version.c
with
5 additions
and
3 deletions
src/fold.c
+
3
−
3
View file @
5b88ba47
...
...
@@ -1932,7 +1932,7 @@ get_foldtext(wp, lnum, lnume, foldinfo, buf)
#ifdef FEAT_EVAL
if
(
*
wp
->
w_p_fdt
!=
NUL
)
{
char_u
dashes
[
51
];
char_u
dashes
[
MAX_LEVEL
+
2
];
win_T
*
save_curwin
;
int
level
;
char_u
*
p
;
...
...
@@ -1944,8 +1944,8 @@ get_foldtext(wp, lnum, lnume, foldinfo, buf)
/* Set "v:folddashes" to a string of "level" dashes. */
/* Set "v:foldlevel" to "level". */
level
=
foldinfo
->
fi_level
;
if
(
level
>
50
)
level
=
50
;
if
(
level
>
(
int
)
sizeof
(
dashes
)
-
1
)
level
=
(
int
)
sizeof
(
dashes
)
-
1
;
vim_memset
(
dashes
,
'-'
,
(
size_t
)
level
);
dashes
[
level
]
=
NUL
;
set_vim_var_string
(
VV_FOLDDASHES
,
dashes
,
-
1
);
...
...
This diff is collapsed.
Click to expand it.
src/version.c
+
2
−
0
View file @
5b88ba47
...
...
@@ -676,6 +676,8 @@ static char *(features[]) =
static
int
included_patches
[]
=
{
/* Add new patch number below this line */
/**/
278
,
/**/
277
,
/**/
...
...
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