tuareg-current-fun-name returns inaccurate results, breaking which-function-mode · Issue #306 · ocaml/tuareg · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uh oh!
There was an error while loading. Please reload this page.
tuareg-current-fun-name
is buggy:gives me
f.f.f
gives me
f.f.g
There are various other bugs.
Since
add-log-current-defun-function
is set totuareg-current-fun-name
,which-function-mode
displays ugly, wrong results.As a result, I'm using the following configuration to disable the use of
tuareg-current-fun-name
:which causes
which-function-mode
to fall back to using imenu, which for me is populated by merlin, and is much more accurate and nice.The text was updated successfully, but these errors were encountered: