aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/treesitter.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-08-22 11:25:59 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2021-08-22 11:28:47 +0200
commitc265fd31ab2b0307650ad94e1ea272e9360c345f (patch)
tree9ca3efcc04236190d15a418e1ff0a2ca1d4d6a1c /src/nvim/lua/treesitter.c
parentb888018aed249174aad7586859ac5142f1a3ef10 (diff)
downloadrneovim-c265fd31ab2b0307650ad94e1ea272e9360c345f.tar.gz
rneovim-c265fd31ab2b0307650ad94e1ea272e9360c345f.tar.bz2
rneovim-c265fd31ab2b0307650ad94e1ea272e9360c345f.zip
refactor(api): remove unneccesary indirection around handles
These things are just maps to pointers, no need to perform a huge song and dance around it.
Diffstat (limited to 'src/nvim/lua/treesitter.c')
-rw-r--r--src/nvim/lua/treesitter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/lua/treesitter.c b/src/nvim/lua/treesitter.c
index 1425baacf0..14fed0d474 100644
--- a/src/nvim/lua/treesitter.c
+++ b/src/nvim/lua/treesitter.c
@@ -18,7 +18,7 @@
#include "tree_sitter/api.h"
#include "nvim/lua/treesitter.h"
-#include "nvim/api/private/handle.h"
+#include "nvim/api/private/helpers.h"
#include "nvim/memline.h"
#include "nvim/buffer.h"