remove semi-colon in sass.

This commit is contained in:
mattn
2012-11-06 20:22:47 +09:00
parent 70fe3aa22c
commit ac43ff8cd9
2 changed files with 1 additions and 1 deletions

View File

@@ -57,6 +57,7 @@ function! zencoding#lang#sass#toString(settings, current, type, inline, filters,
let str .= indent . inner
else
let text = zencoding#lang#css#toString(settings, current, type, inline, filters, itemno, indent)
let text = substitute(text, '\${cursor}', '', 'g')
let text = substitute(text, '\s*;$', '', '')
return text
endif

View File

@@ -20,7 +20,6 @@ function! zencoding#lang#scss#toString(settings, current, type, inline, filters,
let indent = a:indent
let str = ""
let current_name = current.name
let current_name = substitute(current.name, '\$$', itemno+1, '')
if len(current.name) > 0
let str .= current_name