diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2020-08-06 09:01:38 +0200 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2020-08-17 17:45:46 +0200 |
| commit | 32271b26ef64433b2d9cc41392594db614449a4c (patch) | |
| tree | b6ff88d64eb449ae0aca6401d9e635a722645f43 /lua/nvim-treesitter/utils.lua | |
| parent | f3ed370643dee45a3ea253a780cd30e74361d2bd (diff) | |
Textobjects: set jump before going to adjacent_textobject
Diffstat (limited to 'lua/nvim-treesitter/utils.lua')
| -rw-r--r-- | lua/nvim-treesitter/utils.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/nvim-treesitter/utils.lua b/lua/nvim-treesitter/utils.lua index 416326e4..d3d18339 100644 --- a/lua/nvim-treesitter/utils.lua +++ b/lua/nvim-treesitter/utils.lua @@ -67,4 +67,8 @@ function M.print_warning(text) api.nvim_command(string.format([[echohl WarningMsg | echo "%s" | echohl None]], text)) end +function M.set_jump() + vim.cmd "normal! m'" +end + return M |
