Is there a way to figure out which plugin/setting I have that does auto insertion of ", so when I write " I end up with "" ?
I currently have an undesired behavior where I get nested quotes when I type " inside a string in insert mode. This hasn't been a problem earlier, so it's something that showed up after I migrated to a new config. GIF in 🧵 :
I have vim-sexp and vim-sexp-mappings-for-regular-people
:imap will tell you what insert-mode mappings you have, you’ll probably find " in there.
vim-sexp does do the auto insertion.
Yeah, thanks for the imap tip! I wonder why their little fix worked before but not post fennel:
it uses the built-in regex-based syntax highlighting to determine when in a string or not, and doesn't use tree-sitter, so if you only rely on tree-sitter highlighting, it won't work
Ah, great! Damn you guys are good 🙂
haha we've all suffered in this space for a long time