aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/generators/gen_eval.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-08-21 11:22:25 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-08-21 14:16:16 +0800
commit64ccfdaafef56b451e3a5eed94367fad93978ec8 (patch)
tree47a238c11a2a234da43fb07cb5db6581b6a4ebcb /src/nvim/generators/gen_eval.lua
parent4956f267449ca7526145c63ef095bfd731174635 (diff)
downloadrneovim-64ccfdaafef56b451e3a5eed94367fad93978ec8.tar.gz
rneovim-64ccfdaafef56b451e3a5eed94367fad93978ec8.tar.bz2
rneovim-64ccfdaafef56b451e3a5eed94367fad93978ec8.zip
vim-patch:8.1.2047: cannot check the current state
Problem: Cannot check the current state. Solution: Add the state() function. https://github.com/vim/vim/commit/0e57dd859ecb1e8a3b91509d2f4343e839340eb8 Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/generators/gen_eval.lua')
-rw-r--r--src/nvim/generators/gen_eval.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/generators/gen_eval.lua b/src/nvim/generators/gen_eval.lua
index c7978f0d19..0433894465 100644
--- a/src/nvim/generators/gen_eval.lua
+++ b/src/nvim/generators/gen_eval.lua
@@ -36,6 +36,7 @@ hashpipe:write([[
#include "nvim/quickfix.h"
#include "nvim/runtime.h"
#include "nvim/search.h"
+#include "nvim/state.h"
#include "nvim/strings.h"
#include "nvim/sign.h"
#include "nvim/testing.h"