diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-12-05 23:33:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-05 23:33:22 -0500 |
commit | 523f03b506bf577811c0e136bc852cdb89f92c00 (patch) | |
tree | 300f7c7b36f176e593e52c253c6ed2cb25777c49 /src/nvim/tag.c | |
parent | 4306b395defb7ef8f614127e0fbe362656346da3 (diff) | |
download | rneovim-523f03b506bf577811c0e136bc852cdb89f92c00.tar.gz rneovim-523f03b506bf577811c0e136bc852cdb89f92c00.tar.bz2 rneovim-523f03b506bf577811c0e136bc852cdb89f92c00.zip |
lint (#16526)
Diffstat (limited to 'src/nvim/tag.c')
-rw-r--r-- | src/nvim/tag.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/tag.c b/src/nvim/tag.c index 1f4d3adc92..483d2df778 100644 --- a/src/nvim/tag.c +++ b/src/nvim/tag.c @@ -141,12 +141,12 @@ static int tfu_in_use = false; // disallow recursive call of tagfunc /// type == DT_LTAG: use location list for displaying tag matches /// type == DT_FREE: free cached matches /// -/// for cscope, returns TRUE if we jumped to tag or aborted, FALSE otherwise +/// for cscope, returns true if we jumped to tag or aborted, false otherwise /// /// @param tag tag (pattern) to jump to /// @param forceit :ta with ! /// @param verbose print "tag not found" message -int do_tag(char_u *tag, int type, int count, int forceit, int verbose) +bool do_tag(char_u *tag, int type, int count, int forceit, int verbose) { taggy_T *tagstack = curwin->w_tagstack; int tagstackidx = curwin->w_tagstackidx; @@ -163,7 +163,7 @@ int do_tag(char_u *tag, int type, int count, int forceit, int verbose) int error_cur_match = 0; int save_pos = false; fmark_T saved_fmark; - int jumped_to_tag = false; + bool jumped_to_tag = false; int new_num_matches; char_u **new_matches; int use_tagstack; |