Files
neovim/src/nvim/indent.h
bfredl 442f297c63 refactor(build): remove INCLUDE_GENERATED_DECLARATIONS guards
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.
2025-08-14 09:34:38 +02:00

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"