Mercurial > vim
annotate src/proto/tag.pro @ 32881:ec310fcd2d12 v9.0.1749
patch 9.0.1749: Text property highlight doesn't override a sign highlight on TAB
Commit: https://github.com/vim/vim/commit/dbeadf05b6a152e7d9c5cc23d9202057f8e99884
Author: Christian Brabandt <cb@256bit.org>
Date: Sat Aug 19 15:35:04 2023 +0200
patch 9.0.1749: Text property highlight doesn't override a sign highlight on TAB
Problem: Text property highlight doesn't override a sign highlight over
a tab character
Solution: Let text_property override tab highlighting
This fixes a few problems of text properties:
- text property highlighting when override=true does not overwrite TAB
highlighting
- text property highlighting when override=true does not overwrite TAB
highlighting with :set list
- text property highlighting is used instead of sign highlight after
the actual text ends when signs are present with linehl is set
closes: #21584
closes: #21592
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 19 Aug 2023 15:45:03 +0200 |
parents | ca6bc7c04163 |
children | 814fcbca4d8d |
rev | line source |
---|---|
7 | 1 /* tag.c */ |
31996
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31859
diff
changeset
|
2 char *did_set_tagfunc(optset_T *args); |
26268
3aa48d4e3dc8
patch 8.2.3665: cannot use a lambda for 'tagfunc'
Bram Moolenaar <Bram@vim.org>
parents:
16188
diff
changeset
|
3 void free_tagfunc_option(void); |
26518
13ba00ef7687
patch 8.2.3788: lambda for option that is a function may be freed
Bram Moolenaar <Bram@vim.org>
parents:
26388
diff
changeset
|
4 int set_ref_in_tagfunc(int copyID); |
26388
8aba638e91eb
patch 8.2.3725: cannot use a lambda for 'completefunc' and 'omnifunc'
Bram Moolenaar <Bram@vim.org>
parents:
26268
diff
changeset
|
5 void set_buflocal_tfu_callback(buf_T *buf); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1126
diff
changeset
|
6 int do_tag(char_u *tag, int type, int count, int forceit, int verbose); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1126
diff
changeset
|
7 void tag_freematch(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1126
diff
changeset
|
8 void do_tags(exarg_T *eap); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1126
diff
changeset
|
9 int find_tags(char_u *pat, int *num_matches, char_u ***matchesp, int flags, int mincount, char_u *buf_ffname); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1126
diff
changeset
|
10 void free_tag_stuff(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1126
diff
changeset
|
11 int get_tagfname(tagname_T *tnp, int first, char_u *buf); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1126
diff
changeset
|
12 void tagname_free(tagname_T *tnp); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1126
diff
changeset
|
13 int expand_tags(int tagnames, char_u *pat, int *num_file, char_u ***file); |
11225
d3415ec1cdaf
patch 8.0.0499: taglist() does not prioritize tags for a buffer
Christian Brabandt <cb@256bit.org>
parents:
7668
diff
changeset
|
14 int get_tags(list_T *list, char_u *pat, char_u *buf_fname); |
15016
c338c91086b9
patch 8.1.0519: cannot save and restore the tag stack
Bram Moolenaar <Bram@vim.org>
parents:
11225
diff
changeset
|
15 void get_tagstack(win_T *wp, dict_T *retdict); |
c338c91086b9
patch 8.1.0519: cannot save and restore the tag stack
Bram Moolenaar <Bram@vim.org>
parents:
11225
diff
changeset
|
16 int set_tagstack(win_T *wp, dict_T *d, int action); |
7 | 17 /* vim: set ft=c : */ |