blob: df6e0e5c39fc5c98f3fcc26b6d4289515ec8ae08 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef NEOVIM_POS_H
#define NEOVIM_POS_H
/*
* position in file or buffer
*/
typedef struct {
linenr_T lnum; /* line number */
colnr_T col; /* column number */
colnr_T coladd;
} pos_T;
# define INIT_POS_T(l, c, ca) {l, c, ca}
/*
* Same, but without coladd.
*/
typedef struct {
linenr_T lnum; /* line number */
colnr_T col; /* column number */
} lpos_T;
#endif /* NEOVIM_POS_H */
|