mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
move: dir in onepage() is Direction
Move vim.h in move.h to implicitly include buffer_defs.h and pos.h.
This commit is contained in:
parent
1a43aef9ec
commit
566f573378
@ -16,7 +16,6 @@
|
||||
#include <inttypes.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "nvim/vim.h"
|
||||
#include "nvim/ascii.h"
|
||||
#include "nvim/move.h"
|
||||
#include "nvim/charset.h"
|
||||
@ -1726,7 +1725,7 @@ void cursor_correct(void)
|
||||
*
|
||||
* return FAIL for failure, OK otherwise
|
||||
*/
|
||||
int onepage(int dir, long count)
|
||||
int onepage(Direction dir, long count)
|
||||
{
|
||||
long n;
|
||||
int retval = OK;
|
||||
|
@ -2,8 +2,7 @@
|
||||
#define NVIM_MOVE_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include "nvim/buffer_defs.h"
|
||||
#include "nvim/pos.h"
|
||||
#include "nvim/vim.h"
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
# include "move.h.generated.h"
|
||||
|
Loading…
Reference in New Issue
Block a user