mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 07:58:35 +00:00
startup: Avoid VimL global. Introduce TriState enum.
- `syntax_on` is documented. Rather than introduce a new undocumented VimL global `g:syntax_off`, use a module-local flag. - Rename "maybe" functions to follow style guidelines (use standard module prefix)
This commit is contained in:
@@ -100,6 +100,12 @@
|
||||
# define VIMRC_FILE ".nvimrc"
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
kNone = -1,
|
||||
kFalse = 0,
|
||||
kTrue = 1,
|
||||
} TriState;
|
||||
|
||||
/* Values for "starting" */
|
||||
#define NO_SCREEN 2 /* no screen updating yet */
|
||||
#define NO_BUFFERS 1 /* not all buffers loaded yet */
|
||||
|
Reference in New Issue
Block a user