aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/normal.h
blob: 57a3418d922ae09b451b0e819e62ce6726320a89 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#include <stddef.h>  // IWYU pragma: keep

#include "nvim/macros_defs.h"
#include "nvim/normal_defs.h"  // IWYU pragma: keep
#include "nvim/pos_defs.h"  // IWYU pragma: keep
#include "nvim/types_defs.h"  // IWYU pragma: keep

/// Values for find_ident_under_cursor()
enum {
  FIND_IDENT  = 1,  ///< find identifier (word)
  FIND_STRING = 2,  ///< find any string (WORD)
  FIND_EVAL   = 4,  ///< include "->", "[]" and "."
};

/// 'showcmd' buffer shared between normal.c and statusline.c
EXTERN char showcmd_buf[SHOWCMD_BUFLEN];

#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "normal.h.generated.h"
#endif