diff options
author | Klemen Košir <klemen913@gmail.com> | 2014-04-29 10:52:10 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-07-08 17:34:08 +0000 |
commit | a568e8b644a41b12388b7c7de4ca0fb8dc107f18 (patch) | |
tree | ceda29fd66a672eaa0cc68bcacc6c7ae66bbb44b /src/nvim/globals.h | |
parent | ef34a0ab132bca94bd16d8518c3333cf81cbf2c6 (diff) | |
download | rneovim-a568e8b644a41b12388b7c7de4ca0fb8dc107f18.tar.gz rneovim-a568e8b644a41b12388b7c7de4ca0fb8dc107f18.tar.bz2 rneovim-a568e8b644a41b12388b7c7de4ca0fb8dc107f18.zip |
Replaced most TRUE/FALSE macros in arabic, mbyte and spell. #645
Diffstat (limited to 'src/nvim/globals.h')
-rw-r--r-- | src/nvim/globals.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/nvim/globals.h b/src/nvim/globals.h index 612609c2a5..ceb0953d14 100644 --- a/src/nvim/globals.h +++ b/src/nvim/globals.h @@ -618,7 +618,7 @@ EXTERN int vr_lines_changed INIT(= 0); /* #Lines changed by "gR" so far */ EXTERN int enc_dbcs INIT(= 0); /* One of DBCS_xxx values if DBCS encoding */ EXTERN int enc_unicode INIT(= 0); /* 2: UCS-2 or UTF-16, 4: UCS-4 */ -EXTERN int enc_utf8 INIT(= FALSE); /* UTF-8 encoded Unicode */ +EXTERN bool enc_utf8 INIT(= false); /* UTF-8 encoded Unicode */ EXTERN int enc_latin1like INIT(= TRUE); /* 'encoding' is latin1 comp. */ EXTERN int has_mbyte INIT(= 0); /* any multi-byte encoding */ @@ -1117,4 +1117,12 @@ EXTERN char *ignoredp; * os_unix.c */ EXTERN int curr_tmode INIT(= TMODE_COOK); /* contains current terminal mode */ +/// Used to track the status of external functions. +/// Currently only used for iconv(). +typedef enum { + kUnknown, + kWorking, + kBroken +} WorkingStatus; + #endif /* NVIM_GLOBALS_H */ |