vim-js-pretty-template
vim-js-pretty-template copied to clipboard
Error 'Not an editor command : JsPreTmpl markdown'
I'm still learning about how Vim works, so if this isn't a bug I'm sorry. I'm experiencing something similar to #5, however reordering things in my .vimrc doesn't seem to help.

The above error happens when I open a TypeScript file with this line in my .vimrc:
autocmd FileType typescript JsPreTmpl markdown
Here's the whole .vimrc file for reference (in case I'm doing something silly):
execute pathogen#infect()
syntax on
set nocompatible
set shiftwidth=2 tabstop=2
set nu
runtime! ftplugin/man.vim
filetype plugin indent on
if has('gui_running')
colorscheme darkmate
set guifont=Droid\ Sans\ Mono
else
endif
let g:indent_guides_enable_on_vim_startup = 1
autocmd FileType typescript JsPreTmpl markdown
autocmd FileType typescript syn clear foldBraces
- I'm also using the leafgarland/typescript-vim plugin.
- Using GVim 8.0.851
- Arch Linux 4.12.8
@ryanwells-rwc I always forget this, but don't forget that even though you add plugins to your .vimrc and it takes a while to open like it's downloading your plugins (including your new one), you still have to run :PlugInstall if you are using Plug to actually install your new plugin.