Use indent getting from configuration, Fix #201

This commit is contained in:
mattn
2014-04-03 01:36:28 +09:00
parent 19961fc270
commit 6adab8a234

View File

@@ -21,7 +21,7 @@ function! emmet#lang#css#parseIntoTree(abbr, type)
let block = emmet#util#searchRegion("{", "}")
if type == 'css' && block[0] == [0,0] && block[1] == [0,0]
let current = emmet#newNode()
let current.snippet = abbr . " {\n\t${cursor}\n}"
let current.snippet = abbr . " {\n" . indent . "${cursor}\n}"
let current.name = ''
call add(root.child, deepcopy(current))
else