diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-11-16 12:45:44 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-11-16 16:40:25 -0500 |
commit | da7bb53d995b409208b29a5fd5941075230f1504 (patch) | |
tree | bf1e9e1214d17172821121da051c6021640e893b /src/nvim/diff.h | |
parent | 7274f5c177d49660ed8c06998da402a09f5f31c6 (diff) | |
download | rneovim-da7bb53d995b409208b29a5fd5941075230f1504.tar.gz rneovim-da7bb53d995b409208b29a5fd5941075230f1504.tar.bz2 rneovim-da7bb53d995b409208b29a5fd5941075230f1504.zip |
diff: move diff globals to diff.h
Diffstat (limited to 'src/nvim/diff.h')
-rw-r--r-- | src/nvim/diff.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nvim/diff.h b/src/nvim/diff.h index 3624ce29bb..99a60381bd 100644 --- a/src/nvim/diff.h +++ b/src/nvim/diff.h @@ -4,6 +4,13 @@ #include "nvim/pos.h" #include "nvim/ex_cmds_defs.h" +// Value set from 'diffopt'. +EXTERN int diff_context INIT(= 6); // context for folds +EXTERN int diff_foldcolumn INIT(= 2); // 'foldcolumn' for diff mode +EXTERN bool diff_need_scrollbind INIT(= false); + +EXTERN bool need_diff_redraw INIT(= false); // need to call diff_redraw() + #ifdef INCLUDE_GENERATED_DECLARATIONS # include "diff.h.generated.h" #endif |