summaryrefslogtreecommitdiffstats
path: root/syntax/fsharp.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/fsharp.vim')
-rw-r--r--syntax/fsharp.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/syntax/fsharp.vim b/syntax/fsharp.vim
index f66daa01..ae076b5d 100644
--- a/syntax/fsharp.vim
+++ b/syntax/fsharp.vim
@@ -47,7 +47,7 @@ syn match fsharpSymbol "\%(member\)\@<=\s\+\w\+\.\zs\w\+"
" types
-syn match fsharpTypeName "\%(\<type\s\+\)\@<=\w\+"
+syn match fsharpTypeName "\%#=1\%(\<type\s\+\)\@<=\w\+"
" errors
@@ -182,7 +182,7 @@ syn match fsharpFloat "\<-\=\d\(_\|\d\)*\.\(_\|\d\)*\([eE][-+]\=\d\(_
syn match fsharpFloat "\<\d\+\.\d*"
" modules
-syn match fsharpModule "\%(\<open\s\+\)\@<=[a-zA-Z.]\+"
+syn match fsharpModule "\%#=1\%(\<open\s\+\)\@<=[a-zA-Z.]\+"
" attributes
syn region fsharpAttrib matchgroup=fsharpAttribute start="\[<" end=">]"