mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 08:56:29 +00:00
Introduce nvim namespace: Move files.
Move files from src/ to src/nvim/. - src/nvim/ becomes the new root dir for nvim executable sources. - src/libnvim/ is planned to become root dir of the neovim library.
This commit is contained in:
23
src/nvim/pos.h
Normal file
23
src/nvim/pos.h
Normal file
@@ -0,0 +1,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 */
|
Reference in New Issue
Block a user