Commit ab19de4b authored by Bogdan Popa's avatar Bogdan Popa

fix prefixing issue in elm-oracle--function-at-point

parent 9cad73eb
......@@ -852,7 +852,7 @@ Runs `elm-reactor' first."
(defun elm-oracle--function-at-point ()
"Get the name of the function at point."
(save-excursion
(forward-word)
(skip-chars-forward "[A-Za-z0-9_.']")
(let* ((_ (re-search-backward elm-oracle--pattern nil t))
(beg (1+ (match-beginning 0)))
(end (match-end 0))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment