aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/window.h
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2021-10-12 16:56:52 +0200
committerGitHub <noreply@github.com>2021-10-12 07:56:52 -0700
commit40be47e0faef7aa015eb4ba44ceb1ee1a03e97cf (patch)
treec46f06f4c40d85e308017e379a97fd1aebcebef1 /src/nvim/window.h
parentee342d3cef97aa2414c05261b448228ae3277862 (diff)
downloadrneovim-40be47e0faef7aa015eb4ba44ceb1ee1a03e97cf.tar.gz
rneovim-40be47e0faef7aa015eb4ba44ceb1ee1a03e97cf.tar.bz2
rneovim-40be47e0faef7aa015eb4ba44ceb1ee1a03e97cf.zip
refactor: format all C files under nvim/ #15977
* refactor: format all C files under nvim * refactor: disable formatting for Vim-owned files: * src/nvim/indent_c.c * src/nvim/regexp.c * src/nvim/regexp_nfa.c * src/nvim/testdir/samples/memfile_test.c
Diffstat (limited to 'src/nvim/window.h')
-rw-r--r--src/nvim/window.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/nvim/window.h b/src/nvim/window.h
index 82b3fe5e88..7e465a9f08 100644
--- a/src/nvim/window.h
+++ b/src/nvim/window.h
@@ -5,11 +5,11 @@
#include "nvim/buffer_defs.h"
-/* Values for file_name_in_line() */
-#define FNAME_MESS 1 /* give error message */
-#define FNAME_EXP 2 /* expand to path */
-#define FNAME_HYP 4 /* check for hypertext link */
-#define FNAME_INCL 8 /* apply 'includeexpr' */
+// Values for file_name_in_line()
+#define FNAME_MESS 1 // give error message
+#define FNAME_EXP 2 // expand to path
+#define FNAME_HYP 4 // check for hypertext link
+#define FNAME_INCL 8 // apply 'includeexpr'
#define FNAME_REL 16 /* ".." and "./" are relative to the (current)
file instead of the current directory */
#define FNAME_UNESC 32 // remove backslashes used for escaping
@@ -17,20 +17,20 @@
/*
* arguments for win_split()
*/
-#define WSP_ROOM 1 /* require enough room */
-#define WSP_VERT 2 /* split vertically */
-#define WSP_TOP 4 /* window at top-left of shell */
-#define WSP_BOT 8 /* window at bottom-right of shell */
-#define WSP_HELP 16 /* creating the help window */
-#define WSP_BELOW 32 /* put new window below/right */
-#define WSP_ABOVE 64 /* put new window above/left */
-#define WSP_NEWLOC 128 /* don't copy location list */
+#define WSP_ROOM 1 // require enough room
+#define WSP_VERT 2 // split vertically
+#define WSP_TOP 4 // window at top-left of shell
+#define WSP_BOT 8 // window at bottom-right of shell
+#define WSP_HELP 16 // creating the help window
+#define WSP_BELOW 32 // put new window below/right
+#define WSP_ABOVE 64 // put new window above/left
+#define WSP_NEWLOC 128 // don't copy location list
/*
* Minimum screen size
*/
-#define MIN_COLUMNS 12 /* minimal columns for screen */
-#define MIN_LINES 2 /* minimal lines for screen */
+#define MIN_COLUMNS 12 // minimal columns for screen
+#define MIN_LINES 2 // minimal lines for screen
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "window.h.generated.h"