aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/window.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-07-11 07:15:46 +0800
committerGitHub <noreply@github.com>2023-07-11 07:15:46 +0800
commitdb8fe63a9398efd57c3ff28aa3d93e45fb70ee1a (patch)
tree31107910712b0454160b28441b7945a8167628c7 /src/nvim/api/window.h
parent3750e5ed9c740a4334628c4a560d77c1dc2d0bfd (diff)
downloadrneovim-db8fe63a9398efd57c3ff28aa3d93e45fb70ee1a.tar.gz
rneovim-db8fe63a9398efd57c3ff28aa3d93e45fb70ee1a.tar.bz2
rneovim-db8fe63a9398efd57c3ff28aa3d93e45fb70ee1a.zip
feat(api): add nvim_win_text_height (#24236)
It uses the same code as "scroll_delta" of "win_viewport" UI event to calculate text height, but is more flexible.
Diffstat (limited to 'src/nvim/api/window.h')
-rw-r--r--src/nvim/api/window.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/api/window.h b/src/nvim/api/window.h
index 0f36c12a9f..046d64c1a4 100644
--- a/src/nvim/api/window.h
+++ b/src/nvim/api/window.h
@@ -1,6 +1,7 @@
#ifndef NVIM_API_WINDOW_H
#define NVIM_API_WINDOW_H
+#include "nvim/api/keysets.h"
#include "nvim/api/private/defs.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS