Support for Python
Hi, Python's tree-sitter grammar directly uses nodes binary_operator (+, -, *, etc.), boolean_operator (and, or), and comparison_operator (==, <, etc.) rather than wrapped in a binary_expression node, so I modified the code to check for those types as well.
Id don't know if this is the correct way to implement this but I tried it out on few samples from my python project and it seems to work fine in all of them. Feel free to correct me tho or to let me know if I should document it or something.
Hi! Thanks for the PR, but this plugin is no longer supported (sorry, I forgot to archive it). You can continue to use your fork or use Wansmer/sibling-swap.nvim, the same functionality is added there.