Allow " ex:" to match at beginning of file

Although unlikely to be valid syntax in most programming languages, such
a modeline is valid syntax in Vim, and will trigger any filetype modes.
This commit is contained in:
Alhadis
2016-09-12 19:59:08 +10:00
parent 70779c9986
commit e73a4ecd0e
3 changed files with 5 additions and 1 deletions

3
test/fixtures/Data/Modelines/ruby10 vendored Normal file
View File

@@ -0,0 +1,3 @@
ex: noexpandtab: ft=ruby
# Still Ruby