mirror of
https://github.com/neovim/neovim.git
synced 2025-10-15 14:26:07 +00:00

These are not needed after #35129 but making uncrustify still play nice with them was a bit tricky. Unfortunately `uncrustify --update-config-with-doc` breaks strings with backslashes. This issue has been reported upstream, and in the meanwhile auto-update on every single run has been disabled.
21 lines
570 B
C
21 lines
570 B
C
#pragma once
|
|
|
|
#include "nvim/ex_cmds_defs.h" // IWYU pragma: keep
|
|
#include "nvim/normal_defs.h"
|
|
#include "nvim/pos_defs.h" // IWYU pragma: keep
|
|
#include "nvim/types_defs.h" // IWYU pragma: keep
|
|
|
|
typedef int (*IndentGetter)(void);
|
|
|
|
/// flags for set_indent()
|
|
enum {
|
|
SIN_CHANGED = 1, ///< call changed_bytes() when line changed
|
|
SIN_INSERT = 2, ///< insert indent before existing text
|
|
SIN_UNDO = 4, ///< save line for undo before changing it
|
|
SIN_NOMARK = 8, ///< don't adjust extmarks
|
|
};
|
|
|
|
typedef int (*Indenter)(void);
|
|
|
|
#include "indent.h.generated.h"
|