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

call vista#autocmd#InitMOF in vista#ftplugin#Set? #421

Closed xayjin closed 2 years ago

xayjin commented 2 years ago

When vista#autocmd#InitMOF is called in vista#ftplugin#Set, the NearestMethodOrFunction would be active. NearestMethodOrFunction should be active after calling vista#RunForNearestMethodOrFunction() ?

xayjin commented 2 years ago

i just want to disable NearestMethodOrFunction, solve it by define the “VistaMOF" variable in .vimrc. define “VistaMOF" can stop ftplugin#Set calling vista#autocmd#InitMOF