aboutsummaryrefslogtreecommitdiff
path: root/src/sign_defs.h
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2014-03-28 02:09:08 -0400
committerThiago de Arruda <tpadilha84@gmail.com>2014-03-29 20:47:39 -0300
commitd9f5cd6290755b0fc571c89db5f213844cbe9eef (patch)
treeae8e325f1cc2efbfc79cf59c7cc7f61e8ed38db8 /src/sign_defs.h
parent28b3659955d154d04ac8e531b54f1ec32f3136a7 (diff)
downloadrneovim-d9f5cd6290755b0fc571c89db5f213844cbe9eef.tar.gz
rneovim-d9f5cd6290755b0fc571c89db5f213844cbe9eef.tar.bz2
rneovim-d9f5cd6290755b0fc571c89db5f213844cbe9eef.zip
Re-integrate FEAT_SIGNS code, close #383
- omit FEAT_NETBEANS_INTG and FEAT_SIGN_ICONS - omit FEAT_GUI blocks
Diffstat (limited to 'src/sign_defs.h')
-rw-r--r--src/sign_defs.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/sign_defs.h b/src/sign_defs.h
new file mode 100644
index 0000000000..be33a57fff
--- /dev/null
+++ b/src/sign_defs.h
@@ -0,0 +1,24 @@
+#ifndef NEOVIM_SIGN_DEFS_H
+#define NEOVIM_SIGN_DEFS_H
+
+// signs: line annotations
+
+typedef struct signlist signlist_T;
+
+struct signlist
+{
+ int id; /* unique identifier for each placed sign */
+ linenr_T lnum; /* line number which has this sign */
+ int typenr; /* typenr of sign */
+ signlist_T *next; /* next signlist entry */
+};
+
+/* type argument for buf_getsigntype() */
+#define SIGN_ANY 0
+#define SIGN_LINEHL 1
+#define SIGN_ICON 2
+#define SIGN_TEXT 3
+
+
+
+#endif // NEOVIM_SIGN_DEFS_H