forked from Quramy/vim-js-pretty-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Doesn't seem to highlight tagged templates when the tag is a method of an object.
I tried to debug this, but can't make heads or tails of why it doesn't work. Seems like the '.' in an expression like SomeObject.html breaks it.
Example, this works fine:
let g:taggedtemplate#tagSyntaxMap = {
\ "html":"html" }
let str = html`<p>Works!</p>`This does not:
let g:taggedtemplate#tagSyntaxMap = {
\ "SomeObject.html":"html" }
let str = SomeObject.html`<p>acts like a string :(</p>`Plugin list:
call plug#begin('~/.vim/plugged')
Plug 'natebosch/vim-lsc'
Plug 'prabirshrestha/async.vim'
Plug 'prabirshrestha/vim-lsp'
Plug 'prabirshrestha/asyncomplete.vim'
Plug 'prabirshrestha/asyncomplete-lsp.vim'
Plug 'rust-lang/rust.vim'
Plug 'tpope/vim-repeat'
Plug 'tpope/vim-surround'
Plug 'mattn/emmet-vim'
Plug 'isRuslan/vim-es6'
Plug 'groenewege/vim-less'
Plug 'othree/javascript-libraries-syntax.vim'
Plug 'pangloss/vim-javascript'
Plug 'digitaltoad/vim-pug'
Plug 'rbgrouleff/bclose.vim'
Plug 'fholgado/minibufexpl.vim'
Plug 'vim-syntastic/syntastic'
Plug 'valloric/youcompleteme', { 'do': './install.py' }
Plug 'juvenn/mustache.vim'
Plug 'embear/vim-localvimrc'
Plug 'cdata/vim-tagged-template'
Metadata
Metadata
Assignees
Labels
No labels