Open rominf opened 9 years ago
the http and file matching pattern used by clickable.vim now are too long (though I optimzed them several times). Maybe I should let them not matching in all files.
@Rykka I don't think that the problem is in your regex, because if I try to type the same address in the plain text file, it works fine.
ok, I will check it.
Ouch, I hit this one too. I'm not sure what changed in my environment to bring this about, but trying to edit an existing .sls file of any size causes vim to use 100% cpu (eg hang) until killed. Disabling clickable is definitely a solution for now.
clickable has hacked syntax and seems the syntax highlighting of url/file matching is overkilling the memory...
I have not got a better solution for this currently.
Steps to reproduce:
vim /tmp/s.sls
salt://ssssssssssssssssssssss...
Salt-vim plugin works fine without clickable plugin, I think the problem is in latter plugin.