mirror of
https://github.com/neovim/neovim.git
synced 2025-10-15 22:36:09 +00:00
refactor: fix runtime_defs.h (#26259)
This commit is contained in:
@@ -1,15 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#include "nvim/buffer_defs.h" // IWYU pragma: keep
|
||||
#include "nvim/pos_defs.h"
|
||||
#include "nvim/pos_defs.h" // IWYU pragma: keep
|
||||
|
||||
// flags for open_line()
|
||||
#define OPENLINE_DELSPACES 0x01 // delete spaces after cursor
|
||||
#define OPENLINE_DO_COM 0x02 // format comments
|
||||
#define OPENLINE_KEEPTRAIL 0x04 // keep trailing spaces
|
||||
#define OPENLINE_MARKFIX 0x08 // fix mark positions
|
||||
#define OPENLINE_COM_LIST 0x10 // format comments with list/2nd line indent
|
||||
#define OPENLINE_FORMAT 0x20 // formatting long comment
|
||||
/// flags for open_line()
|
||||
enum {
|
||||
OPENLINE_DELSPACES = 0x01, ///< delete spaces after cursor
|
||||
OPENLINE_DO_COM = 0x02, ///< format comments
|
||||
OPENLINE_KEEPTRAIL = 0x04, ///< keep trailing spaces
|
||||
OPENLINE_MARKFIX = 0x08, ///< fix mark positions
|
||||
OPENLINE_COM_LIST = 0x10, ///< format comments with list/2nd line indent
|
||||
OPENLINE_FORMAT = 0x20, ///< formatting long comment
|
||||
};
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
# include "change.h.generated.h"
|
||||
|
Reference in New Issue
Block a user