When testing some css properties, I use to write the some internal css in a html file. Therefore, I would like to have the css snippets in a buffer whose filetype is html. This feature request has already been indirectly requested (see these posted issues: 388 and 444.
It would be really useful if we could enable snippets from different filetypes in a single buffer. For example, let's suppose that I enable css snippets in html. Therefore, pressing bg<c-y>' would yield to
bg {
}
instead of
<bg></bg>
In abstract terms, it would be nice if we could define the filetype whose list of snippets will also be included for a given filetype (see example below)
This configuration variable would make css snippets to also be included when loading a buffer with a html filetype.
In addition to this, since there are filetypes that have same snippets triggers
!!! in html buffers and !!! in jade buffers.
setting a priority for the group of snippets would give the user more flexibility. For example
let g:user_emmet_compound_filetypes = {
\ 'html': ['jade', 'html']
\}
would imply that jade snippets have greater priority than html snippets.
When testing some
css
properties, I use to write the some internalcss
in ahtml
file. Therefore, I would like to have thecss
snippets in a buffer whose filetype ishtml
. This feature request has already been indirectly requested (see these posted issues: 388 and 444.It would be really useful if we could enable snippets from different filetypes in a single buffer. For example, let's suppose that I enable
css
snippets inhtml
. Therefore, pressingbg<c-y>'
would yield toinstead of
In abstract terms, it would be nice if we could define the filetype whose list of snippets will also be included for a given filetype (see example below)
This configuration variable would make
css
snippets to also be included when loading a buffer with ahtml
filetype. In addition to this, since there are filetypes that have same snippets triggers!!!
inhtml
buffers and!!!
injade
buffers.setting a priority for the group of snippets would give the user more flexibility. For example
would imply that
jade
snippets have greater priority thanhtml
snippets.