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
bc226b6d
Commit
bc226b6d
authored
14 years ago
by
Bram Moolenaar
Browse files
Options
Downloads
Patches
Plain Diff
Fix: :ltag command did not set w:quickfix_title. (Lech Lorens)
parent
314f11d4
Loading
Loading
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/eval.c
+1
-1
1 addition, 1 deletion
src/eval.c
src/proto/quickfix.pro
+1
-1
1 addition, 1 deletion
src/proto/quickfix.pro
src/quickfix.c
+4
-3
4 additions, 3 deletions
src/quickfix.c
src/tag.c
+2
-1
2 additions, 1 deletion
src/tag.c
with
8 additions
and
6 deletions
src/eval.c
+
1
−
1
View file @
bc226b6d
...
...
@@ -15824,7 +15824,7 @@ set_qf_ll_list(wp, list_arg, action_arg, rettv)
action = *act;
}
if (l != NULL && set_errorlist(wp, l, action) == OK)
if (l != NULL && set_errorlist(wp, l, action
, NULL
) == OK)
rettv->vval.v_number = 0;
}
#endif
...
...
This diff is collapsed.
Click to expand it.
src/proto/quickfix.pro
+
1
−
1
View file @
bc226b6d
...
...
@@ -23,7 +23,7 @@ void ex_cfile __ARGS((exarg_T *eap));
void
ex_vimgrep
__ARGS
((
exarg_T
*
eap
));
char_u
*
skip_vimgrep_pat
__ARGS
((
char_u
*
p
,
char_u
**
s
,
int
*
flags
));
int
get_errorlist
__ARGS
((
win_T
*
wp
,
list_T
*
list
));
int
set_errorlist
__ARGS
((
win_T
*
wp
,
list_T
*
list
,
int
action
));
int
set_errorlist
__ARGS
((
win_T
*
wp
,
list_T
*
list
,
int
action
,
char_u
*
title
));
void
ex_cbuffer
__ARGS
((
exarg_T
*
eap
));
void
ex_cexpr
__ARGS
((
exarg_T
*
eap
));
void
ex_helpgrep
__ARGS
((
exarg_T
*
eap
));
...
...
This diff is collapsed.
Click to expand it.
src/quickfix.c
+
4
−
3
View file @
bc226b6d
...
...
@@ -3593,13 +3593,14 @@ get_errorlist(wp, list)
/*
* Populate the quickfix list with the items supplied in the list
* of dictionaries.
* of dictionaries.
"title" will be copied to w:quickfix_title
*/
int
set_errorlist
(
wp
,
list
,
action
)
set_errorlist
(
wp
,
list
,
action
,
title
)
win_T
*
wp
;
list_T
*
list
;
int
action
;
char_u
*
title
;
{
listitem_T
*
li
;
dict_T
*
d
;
...
...
@@ -3623,7 +3624,7 @@ set_errorlist(wp, list, action)
if
(
action
==
' '
||
qi
->
qf_curlist
==
qi
->
qf_listcount
)
/* make place for a new list */
qf_new_list
(
qi
,
NULL
);
qf_new_list
(
qi
,
title
);
else
if
(
action
==
'a'
&&
qi
->
qf_lists
[
qi
->
qf_curlist
].
qf_count
>
0
)
/* Adding to existing list, find last entry. */
for
(
prevp
=
qi
->
qf_lists
[
qi
->
qf_curlist
].
qf_start
;
...
...
This diff is collapsed.
Click to expand it.
src/tag.c
+
2
−
1
View file @
bc226b6d
...
...
@@ -911,7 +911,8 @@ do_tag(tag, type, count, forceit, verbose)
dict_add_nr_str
(
dict
,
"pattern"
,
0L
,
cmd
);
}
set_errorlist
(
curwin
,
list
,
' '
);
vim_snprintf
(
IObuff
,
IOSIZE
,
"ltag %s"
,
tag
);
set_errorlist
(
curwin
,
list
,
' '
,
IObuff
);
list_free
(
list
,
TRUE
);
...
...
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