liuchengxu / vista.vim

:cactus: Viewer & Finder for LSP symbols and tags
https://liuchengxu.github.io/vista.vim
MIT License
1.88k stars 89 forks source link

[fix] jump to a line contains regex escape charactors may failed #401

Closed hbuexinxin closed 3 years ago

hbuexinxin commented 3 years ago

if tag contains regex charactors (such as / - $ etc), may matchstrpos maybe failed.

if tag is [4-2] , matchstrpos will throw error blow:

Error detected while processing function vista#cursor#FoldOrJump[9]..vista#jump#TagLine:                                                                                              
line   16:
E944: Reverse range in character class
liuchengxu commented 3 years ago

Thank you!