#include <assert.h>
#include <inttypes.h>
#include <stdbool.h>
#include "nvim/ascii.h"
#include "nvim/buffer.h"
#include "nvim/change.h"
#include "nvim/charset.h"
#include "nvim/cursor.h"
#include "nvim/eval.h"
#include "nvim/extmark.h"
#include "nvim/indent.h"
#include "nvim/mark.h"
#include "nvim/memline.h"
#include "nvim/memory.h"
#include "nvim/move.h"
#include "nvim/option.h"
#include "nvim/plines.h"
#include "nvim/regexp.h"
#include "nvim/screen.h"
#include "nvim/search.h"
#include "nvim/strings.h"
#include "nvim/undo.h"
Functions | |
int | get_indent (void) |
int | get_indent_lnum (linenr_T lnum) |
int | get_indent_buf (buf_T *buf, linenr_T lnum) |
int | get_indent_str (const char_u *ptr, int ts, bool list) FUNC_ATTR_NONNULL_ALL |
int | get_indent_str_vtab (const char_u *ptr, long ts, long *vts, bool list) |
int | set_indent (int size, int flags) |
int | get_number_indent (linenr_T lnum) |
int | get_breakindent_win (win_T *wp, char_u *line) FUNC_ATTR_NONNULL_ALL |
int | inindent (int extra) |
bool | may_do_si (void) |
int | get_expr_indent (void) |
int | get_lisp_indent (void) |
int get_expr_indent | ( | void | ) |
int get_indent | ( | void | ) |
int get_indent_lnum | ( | linenr_T | lnum | ) |
Count the size (in window cells) of the indent in line "ptr", with 'tabstop' at "ts". If
list | is true, count only screen size for tabs. |
Count the size (in window cells) of the indent in line "ptr", using variable tabstops. if "list" is true, count only screen size for tabs.
int get_lisp_indent | ( | void | ) |
int get_number_indent | ( | linenr_T | lnum | ) |
int inindent | ( | int | extra | ) |
int set_indent | ( | int | size, |
int | flags | ||
) |