mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-07 03:04:27 +08:00
Fix typo
This commit is contained in:
@@ -1671,7 +1671,7 @@ let s:emmet_settings = {
|
||||
\ ."\t%body\n"
|
||||
\ ."\t\t${child}|\n",
|
||||
\ },
|
||||
\ 'parenthesis': '{}',
|
||||
\ 'parentheses': '{}',
|
||||
\ },
|
||||
\ 'slim': {
|
||||
\ 'indentation': ' ',
|
||||
|
||||
@@ -15,7 +15,7 @@ function! emmet#lang#haml#toString(settings, current, type, inline, filters, ite
|
||||
let itemno = a:itemno
|
||||
let indent = emmet#getIndentation(type)
|
||||
let dollar_expr = emmet#getResource(type, 'dollar_expr', 1)
|
||||
let parenthesis = emmet#getResource('haml', 'parenthesis', '()')
|
||||
let parentheses = emmet#getResource('haml', 'parentheses', '()')
|
||||
let str = ""
|
||||
|
||||
let comment_indent = ''
|
||||
@@ -54,7 +54,7 @@ function! emmet#lang#haml#toString(settings, current, type, inline, filters, ite
|
||||
endif
|
||||
endfor
|
||||
if len(tmp)
|
||||
let str .= parenthesis[0] . tmp . ' '. parenthesis[1]
|
||||
let str .= parentheses[0] . tmp . ' '. parentheses[1]
|
||||
endif
|
||||
if stridx(','.settings.html.empty_elements.',', ','.current_name.',') != -1 && len(current.value) == 0
|
||||
let str .= "/"
|
||||
|
||||
Reference in New Issue
Block a user