From 8be2dc64a2e0a94a429d66c411eb7d500566508f Mon Sep 17 00:00:00 2001 From: kiyan42 Date: Fri, 15 May 2020 14:19:29 +0200 Subject: Expose internal api. - add `exposed_state` to expose 'current_node' and 'cursor_pos' for a current buffer to the user. - add `get_buf_state` and `get_node_api` for users. - add documentation about api functions. - remove `node_movement` module which should be done in user side. --- lua/nvim-treesitter/configs.lua | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'lua/nvim-treesitter/configs.lua') diff --git a/lua/nvim-treesitter/configs.lua b/lua/nvim-treesitter/configs.lua index 31f01a72..f79fed00 100644 --- a/lua/nvim-treesitter/configs.lua +++ b/lua/nvim-treesitter/configs.lua @@ -228,19 +228,6 @@ local config = { is_supported = function(ft) return queries.get_query(ft, 'locals') end - }, - node_movement = { - enable = false, - disable = {}, - is_supported = function(ft) - return queries.get_query(ft, 'locals') - end, - keymaps = { - parent_scope = "", - child_scope = "", - next_scope = "", - previous_scope = "", - }, } }, ensure_installed = nil -- cgit v1.2.3