diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2015-05-24 23:42:59 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2015-05-24 23:42:59 +0200 |
commit | 4203435c48adfec7950f5b9ab745e87c5296e486 (patch) | |
tree | 84a389447483a13e50d46c0eefb7d7eec51b4141 /ftdetect | |
parent | 271b63d71707720ad0d35590b8cb50f8f8f43014 (diff) | |
download | vim-polyglot-4203435c48adfec7950f5b9ab745e87c5296e486.tar.gz vim-polyglot-4203435c48adfec7950f5b9ab745e87c5296e486.zip |
Updatev1.13.3
Diffstat (limited to 'ftdetect')
-rw-r--r-- | ftdetect/polyglot.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 8edb9a9d..e687fb8e 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -130,7 +130,7 @@ function! s:DetectPerl6() endif if line =~ '^\s*\%(use\s\+\)\=v6\%(\.\d\%(\.\d\)\=\)\=;' set filetype=perl6 " we matched a 'use v6' declaration - elseif line =~ '^\s*\%(\%(my\|our\)\s\+\)\=\(module\|class\|role\|enum\|grammar\)' + elseif line =~ '^\s*\%(\%(my\|our\)\s\+\)\=\%(unit\s\+\)\=\(module\|class\|role\|enum\|grammar\)' set filetype=perl6 " we found a class, role, module, enum, or grammar declaration endif break " we either found what we needed, or we found a non-POD, non-comment, |