aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/executor.h
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-08-17 16:45:35 +0200
committerGitHub <noreply@github.com>2022-08-17 16:45:35 +0200
commit35653e6bcda6923b5213fb9356c35067d6d0288f (patch)
tree05188f0b72e9aa7432f2f08516a6f239e491419f /src/nvim/lua/executor.h
parentf7cfca49d6f1380b2ec0b0f7723ea308d0810857 (diff)
parentd879331b0dee66cb106b5bea9efc2f920caf9abd (diff)
downloadrneovim-35653e6bcda6923b5213fb9356c35067d6d0288f.tar.gz
rneovim-35653e6bcda6923b5213fb9356c35067d6d0288f.tar.bz2
rneovim-35653e6bcda6923b5213fb9356c35067d6d0288f.zip
Merge pull request #13457 from bfredl/fÃĪrgtema
feat(highlight): support highlight namespaces per window
Diffstat (limited to 'src/nvim/lua/executor.h')
-rw-r--r--src/nvim/lua/executor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/lua/executor.h b/src/nvim/lua/executor.h
index 2afbbebfe7..78346fd81f 100644
--- a/src/nvim/lua/executor.h
+++ b/src/nvim/lua/executor.h
@@ -24,6 +24,8 @@ typedef struct {
#endif
} nlua_ref_state_t;
+#define NLUA_EXEC_STATIC(cstr, arg, err) nlua_exec(STATIC_CSTR_AS_STRING(cstr), arg, err)
+
#define NLUA_CLEAR_REF(x) \
do { \
/* Take the address to avoid double evaluation. #1375 */ \