diff options
Diffstat (limited to 'autoload/sonictemplate/lang/html.vim')
-rw-r--r-- | autoload/sonictemplate/lang/html.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/sonictemplate/lang/html.vim b/autoload/sonictemplate/lang/html.vim index 36d20c9..e8f22ae 100644 --- a/autoload/sonictemplate/lang/html.vim +++ b/autoload/sonictemplate/lang/html.vim @@ -1,4 +1,4 @@ -function! sonictemplate#lang#html#guess() +function! sonictemplate#lang#html#guess() abort let [m1, m2] = ['<\([^ >]\+\)[^>]*>', '</[^>]\+>\zs'] let area = [searchpairpos(m1, '\%#', m2, 'bnW'), searchpos(m2, 'nW')] if area[0][0] == 0 || area[1][0] == 0 |