forked from VimPlug/emmet-vim
treat as scss.
This commit is contained in:
@@ -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]-->",
|
||||||
|
|||||||
Reference in New Issue
Block a user