aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/diff.h
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2023-11-29 21:52:58 +0000
committerJosh Rahm <joshuarahm@gmail.com>2023-11-29 21:52:58 +0000
commit931bffbda3668ddc609fc1da8f9eb576b170aa52 (patch)
treed8c1843a95da5ea0bb4acc09f7e37843d9995c86 /src/nvim/diff.h
parent142d9041391780ac15b89886a54015fdc5c73995 (diff)
parent4a8bf24ac690004aedf5540fa440e788459e5e34 (diff)
downloadrneovim-userreg.tar.gz
rneovim-userreg.tar.bz2
rneovim-userreg.zip
Merge remote-tracking branch 'upstream/master' into userreguserreg
Diffstat (limited to 'src/nvim/diff.h')
-rw-r--r--src/nvim/diff.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/nvim/diff.h b/src/nvim/diff.h
index 1f64465336..8b58887890 100644
--- a/src/nvim/diff.h
+++ b/src/nvim/diff.h
@@ -1,20 +1,18 @@
-#ifndef NVIM_DIFF_H
-#define NVIM_DIFF_H
+#pragma once
#include <stdbool.h>
#include "nvim/ex_cmds_defs.h"
-#include "nvim/macros.h"
-#include "nvim/pos.h"
+#include "nvim/macros_defs.h"
+#include "nvim/pos_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 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()
+EXTERN bool need_diff_redraw INIT( = false); // need to call diff_redraw()
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "diff.h.generated.h"
#endif
-#endif // NVIM_DIFF_H