mirror of
https://github.com/neovim/neovim.git
synced 2026-03-07 01:27:14 +00:00
Problem: Unable to customize the column next to a window ('gutter').
Solution: Add 'statuscolumn' option that follows the 'statusline' syntax,
allowing to customize the status column. Also supporting the %@
click execute function label. Adds new items @C and @s which
will print the fold and sign columns. Line numbers and signs
can be clicked, highlighted, aligned, transformed, margined etc.
28 lines
666 B
C
28 lines
666 B
C
#ifndef NVIM_OPTION_H
|
|
#define NVIM_OPTION_H
|
|
|
|
#include "nvim/ex_cmds_defs.h"
|
|
|
|
/// Returned by get_option_value().
|
|
typedef enum {
|
|
gov_unknown,
|
|
gov_bool,
|
|
gov_number,
|
|
gov_string,
|
|
gov_hidden_bool,
|
|
gov_hidden_number,
|
|
gov_hidden_string,
|
|
} getoption_T;
|
|
|
|
// flags for buf_copy_options()
|
|
#define BCO_ENTER 1 // going to enter the buffer
|
|
#define BCO_ALWAYS 2 // always copy the options
|
|
#define BCO_NOHELP 4 // don't touch the help related options
|
|
|
|
#define MAX_NUMBERWIDTH 20 // used for 'numberwidth' and 'statuscolumn'
|
|
|
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
|
# include "option.h.generated.h"
|
|
#endif
|
|
#endif // NVIM_OPTION_H
|