diff options
| author | Thomas Vigouroux <tomvig38@gmail.com> | 2020-04-25 16:35:10 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2020-04-25 21:46:22 +0200 |
| commit | cadb3ee1ff0f20a8d26b91502c410e56be90fd46 (patch) | |
| tree | 87f3d22d8590a0ce21db90fc11400db4a3394aa5 /lua/nvim-treesitter/configs.lua | |
| parent | 7c7d4e52703ba76a2aa96ddcc30c4e210addc8af (diff) | |
refactor(textobj): use configs and don't use VimL
Diffstat (limited to 'lua/nvim-treesitter/configs.lua')
| -rw-r--r-- | lua/nvim-treesitter/configs.lua | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/lua/nvim-treesitter/configs.lua b/lua/nvim-treesitter/configs.lua index 64d4170e..2761f0be 100644 --- a/lua/nvim-treesitter/configs.lua +++ b/lua/nvim-treesitter/configs.lua @@ -157,12 +157,15 @@ local config = { return queries.get_query(ft, 'highlights') ~= nil end }, - -- selection = { - -- enable = false, - -- disable = {}, - -- keymaps = {}, - -- is_supported = function() return false end - -- }, + textobj = { + enable = false, + disable = {}, + keymaps = { + node_incremental="grn", + scope_incremental="grc" + }, + is_supported = function() return true end + }, -- folding = { -- enable = false, -- disable = {}, |
