Skip to content

Commit

Permalink
Mark error regions as red.
Browse files Browse the repository at this point in the history
  • Loading branch information
whitequark authored and cynddl committed Jan 4, 2015
1 parent f0a2f29 commit 4fe6c10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sublime-text-merlin.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ def show_errors(self, view):
self.error_messages = error_messages
flag = sublime.DRAW_OUTLINED
# add_regions(key, regions, scope, icon, flags)
view.add_regions('ocaml-underlines-errors', underlines, 'ocaml-underlines-errors', 'dot', flag)
view.add_regions('ocaml-underlines-errors', underlines, 'invalid', 'dot', flag)

@only_ocaml
def on_selection_modified(self, view):
Expand Down

0 comments on commit 4fe6c10

Please sign in to comment.