aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/tag.h
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-03-13 15:11:17 +0100
committerGitHub <noreply@github.com>2022-03-13 22:11:17 +0800
commit4ba12b3dda34472c193c9fa8ffd7d3bd5b6c04d6 (patch)
treec281f75c93feb5d0789ee602484c22e3b6a83116 /src/nvim/tag.h
parent4ede2ea4b2e9cd61fb7e634fa35e6a500816be19 (diff)
downloadrneovim-4ba12b3dda34472c193c9fa8ffd7d3bd5b6c04d6.tar.gz
rneovim-4ba12b3dda34472c193c9fa8ffd7d3bd5b6c04d6.tar.bz2
rneovim-4ba12b3dda34472c193c9fa8ffd7d3bd5b6c04d6.zip
refactor: fix clint warnings (#17682)
Diffstat (limited to 'src/nvim/tag.h')
-rw-r--r--src/nvim/tag.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/nvim/tag.h b/src/nvim/tag.h
index 64bacceb1b..902fe0c7ba 100644
--- a/src/nvim/tag.h
+++ b/src/nvim/tag.h
@@ -4,9 +4,7 @@
#include "nvim/ex_cmds_defs.h"
#include "nvim/types.h"
-/*
- * Values for do_tag().
- */
+// Values for do_tag().
#define DT_TAG 1 // jump to newer position or same tag again
#define DT_POP 2 // jump to older position
#define DT_NEXT 3 // jump to next match of same tag
@@ -20,9 +18,7 @@
#define DT_LTAG 11 // tag using location list
#define DT_FREE 99 // free cached matches
-//
// flags for find_tags().
-//
#define TAG_HELP 1 // only search for help tags
#define TAG_NAMES 2 // only return name of tag
#define TAG_REGEXP 4 // use tag pattern as regexp
@@ -36,9 +32,7 @@
#define TAG_MANY 300 // When finding many tags (for completion),
// find up to this many tags
-/*
- * Structure used for get_tagfname().
- */
+// Structure used for get_tagfname().
typedef struct {
char_u *tn_tags; // value of 'tags' when starting
char_u *tn_np; // current position in tn_tags