summaryrefslogtreecommitdiffstats
path: root/syntax/ocaml.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/ocaml.vim')
-rw-r--r--syntax/ocaml.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/syntax/ocaml.vim b/syntax/ocaml.vim
index ea98a4aa..80f2551f 100644
--- a/syntax/ocaml.vim
+++ b/syntax/ocaml.vim
@@ -33,6 +33,9 @@ endif
" ' can be used in OCaml identifiers
setlocal iskeyword+='
+" ` is part of the name of polymorphic variants
+setlocal iskeyword+=`
+
" OCaml is case sensitive.
syn case match