summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter/configs.lua
diff options
context:
space:
mode:
authorkiyan42 <yazdani.kiyan@protonmail.com>2020-05-15 14:19:29 +0200
committerkiyan42 <yazdani.kiyan@protonmail.com>2020-05-15 14:19:29 +0200
commit8be2dc64a2e0a94a429d66c411eb7d500566508f (patch)
treed4000f95f0f472478036a89b19a2f55aadbb5fff /lua/nvim-treesitter/configs.lua
parent5a66c38b9ff49f0f0b45afa95816c77e18cc9886 (diff)
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.
Diffstat (limited to 'lua/nvim-treesitter/configs.lua')
-rw-r--r--lua/nvim-treesitter/configs.lua13
1 files changed, 0 insertions, 13 deletions
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 = "<a-k>",
- child_scope = "<a-j>",
- next_scope = "<a-l>",
- previous_scope = "<a-h>",
- },
}
},
ensure_installed = nil