aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/globals.h
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-08-04 19:37:58 +0200
committerGitHub <noreply@github.com>2018-08-04 19:37:58 +0200
commite861da247ea63024179467a9ad1923308951c0f0 (patch)
tree976cd9950743cbf49bd3bef4608c3875e1763c9c /src/nvim/globals.h
parenta4c944762315c535fc7986d734e383eccc9f1863 (diff)
parentc51c2f5a65881b2057907338099e12fa19811d41 (diff)
downloadrneovim-e861da247ea63024179467a9ad1923308951c0f0.tar.gz
rneovim-e861da247ea63024179467a9ad1923308951c0f0.tar.bz2
rneovim-e861da247ea63024179467a9ad1923308951c0f0.zip
Merge #8749 from janlazo/clint-tristate
Diffstat (limited to 'src/nvim/globals.h')
-rw-r--r--src/nvim/globals.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/globals.h b/src/nvim/globals.h
index d9103f516c..3efc0838aa 100644
--- a/src/nvim/globals.h
+++ b/src/nvim/globals.h
@@ -191,7 +191,7 @@ EXTERN int cmdline_star INIT(= FALSE); /* cmdline is crypted */
EXTERN int exec_from_reg INIT(= FALSE); /* executing register */
-EXTERN int screen_cleared INIT(= FALSE); /* screen has been cleared */
+EXTERN TriState screen_cleared INIT(= kFalse); // screen has been cleared
/*
* When '$' is included in 'cpoptions' option set:
@@ -952,9 +952,9 @@ EXTERN char psepcN INIT(= '/'); // abnormal path separator character
EXTERN char pseps[2] INIT(= { '\\', 0 }); // normal path separator string
#endif
-/* Set to TRUE when an operator is being executed with virtual editing, MAYBE
- * when no operator is being executed, FALSE otherwise. */
-EXTERN int virtual_op INIT(= MAYBE);
+// Set to kTrue when an operator is being executed with virtual editing
+// kNone when no operator is being executed, kFalse otherwise.
+EXTERN TriState virtual_op INIT(= kNone);
/* Display tick, incremented for each call to update_screen() */
EXTERN disptick_T display_tick INIT(= 0);