forked from ocaml/ocaml-lsp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When completing module paths or record fields Merlin expects the beginning of the path and the `.` to be part of the prefix. But when accessing an object's methods, the prefix should not contain the `#` sign. We use a sub-matching group to that effect. - Prefix for [my_record.|] is ["my_record."] (handled by [name_or_label]) - Prefix for [my_object#|] is [""] (handled by [method_call])
- Loading branch information
Showing
2 changed files
with
62 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters