treat as scss.

This commit is contained in:
mattn
2012-06-13 22:11:17 +09:00
parent 8d10026f61
commit 264df14c43

View File

@@ -232,7 +232,6 @@ function! zencoding#getFileType()
if type == 'xslt' | let type = 'xsl' | endif if type == 'xslt' | let type = 'xsl' | endif
if type == 'htmldjango' | let type = 'html' | endif if type == 'htmldjango' | let type = 'html' | endif
if type == 'html.django_template' | let type = 'html' | endif if type == 'html.django_template' | let type = 'html' | endif
if type == 'scss' | let type = 'css' | endif
if len(type) == 0 && len(globpath(&rtp, 'autoload/zencoding/lang/'.&ft.'.vim')) if len(type) == 0 && len(globpath(&rtp, 'autoload/zencoding/lang/'.&ft.'.vim'))
let type = &ft let type = &ft
endif endif
@@ -1099,6 +1098,9 @@ let s:zen_settings = {
\ 'sass': { \ 'sass': {
\ 'extends': 'css', \ 'extends': 'css',
\ }, \ },
\ 'scss': {
\ 'extends': 'css',
\ },
\ 'html': { \ 'html': {
\ 'snippets': { \ 'snippets': {
\ 'cc:ie6': "<!--[if lte IE 6]>\n\t${child}|\n<![endif]-->", \ 'cc:ie6': "<!--[if lte IE 6]>\n\t${child}|\n<![endif]-->",