Jon Smithers
Jon Smithers
Wow. I'm pretty sure that did not exist when I was working with lit-html. I feel out of the loop. I'll add this capability to the plugin.
I pushed some work to the [dev](https://github.com/jonsmithers/vim-html-template-literals/tree/dev) branch to support syntax highlighting for css-tagged templates (enabled with `let g:htl_css_templates = 1` in vimrc) . Implementing auto-indent behavior is going to...
@Matsuuu Hmm. I just noticed that vim's [`syntax/css.vim`](https://github.com/vim/vim/blob/8d4ed11da635a1abe0ef2d795b4d48824c54d0e7/runtime/syntax/css.vim#L513) overrides the syn-sync setting set by [`syntax/javascript.vim`](https://github.com/pangloss/vim-javascript/blob/c3966153e81bc3766b1627e6ab0cd53333b61c1e/syntax/javascript.vim#L22) or [`syntax/typescript.vim`](https://github.com/leafgarland/typescript-vim/blob/17d85d8051ba21283e62a9101734981e10b732fd/syntax/typescript.vim#L24). I think I can push a fix for that. @dman777 sorry for the...
@tamis-laan I think `'js'` is the wrong filetype. To use with vim-plug's on-demand loading, it should be something like `Plug 'jonsmithers/vim-html-template-literals', {'for':['javascript','typescript']}`.
Hmm. That seems like it _would_ be feasible, but I'm not sure that hard-coding it to the `html` variable name is the best decision. Aren't there use cases where someone...
Hey, thanks for the PR! Has this been done in other IDEs besides Atom? If this tactic is a little niche, it would probably make sense to hide it behind...
It looks like the extra newline is coming from endwise's `` mapping. ``` maparg("", "i") == 'DiscretionaryEnd' ``` You could just omit this by changing `maparg("", "i")` to `substitute(maparg('', 'i'),...
I fixed this for the [ALE linter](https://github.com/dense-analysis/ale) with some changes to my vimrc. Maybe I should put together a pull request. ```vim augroup vimrc_beancount au! autocmd FileType beancount let b:beancount_root='main.beancount'...
I'm kind of just pointing out that the `findStylesheetsInImportedDocs()` method in the readme seems susceptible to infinite loops. After debugging and looking through the call stack, I discovered we have...
This can be DIY'd with [fzf](https://github.com/junegunn/fzf) ```bash # in ~/.zshrc or ~/.bashrc function gmob() { git mob $(git mob -l | fzf --multi | awk '{print $1;}' | tr '\n'...