Hi, I have a question about the ignore_beginning option. The plugin does not seem to work consistently when this option is set to false.
For example, I have the following cpp code snippet.
#include <iostream>
int main() { std::cout << "It is a test " << (1 + 2) << std::endl; }
Now if the cursor is inside the double quotes, pressing TAB will tab out. However, if the curosr is inside the parentheses (for example, right before the + sign), pressing TAB will insert a tab instead of tabbing out.
I would expect tabout works when the cursor is inside a pair of parenthese as well.
My setup (I use lazy.nvim):
{
"abecodes/tabout.nvim",
event = { "InsertEnter" },
opts = {
ignore_beginning = false,
},
},
Hi, I have a question about the
ignore_beginningoption. The plugin does not seem to work consistently when this option is set to false.For example, I have the following
cppcode snippet.Now if the cursor is inside the double quotes, pressing TAB will tab out. However, if the curosr is inside the parentheses (for example, right before the
+sign), pressing TAB will insert a tab instead of tabbing out.I would expect tabout works when the cursor is inside a pair of parenthese as well.
My setup (I use
lazy.nvim):