thx for making it, saved me quite a lot of time to learn it by myself. Also want to ask if the match pattern can be a syntax objects? Or if I can firstly select some text then trigger a snippet?
there is treesitter-postfix which I think better in terms of quality of snippets but little messy to write. I have had the same thought. Since everything is in insert mode, I don't think you can do text objects. When something is in visual mode, what ever you type will replace the text. So, I don't think text-object nor selection is possible but I will start a discussion to get the information directly from the author.
i try to learn the snippet, it is amazing we write texts fast, but when we try a new API, using snippet and lsp and completion, doesn't help to memorize the API, and the fast way create unmanageable code and bugs so much, the true vim users, doesn't need this stuff, it's need only complier to write text
ur channel is going to blow up
thx for making it, saved me quite a lot of time to learn it by myself. Also want to ask if the match pattern can be a syntax objects? Or if I can firstly select some text then trigger a snippet?
there is treesitter-postfix which I think better in terms of quality of snippets but little messy to write.
I have had the same thought. Since everything is in insert mode, I don't think you can do text objects. When something is in visual mode, what ever you type will replace the text.
So, I don't think text-object nor selection is possible but I will start a discussion to get the information directly from the author.
i try to learn the snippet, it is amazing we write texts fast, but when we try a new API, using snippet and lsp and completion, doesn't help to memorize the API, and the fast way create unmanageable code and bugs so much, the true vim users, doesn't need this stuff, it's need only complier to write text