vim-js-pretty-template icon indicating copy to clipboard operation
vim-js-pretty-template copied to clipboard

Error 'Not an editor command : JsPreTmpl markdown'

Open ryanwells-rwc opened this issue 8 years ago • 1 comments

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.

error

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 avatar Aug 25 '17 02:08 ryanwells-rwc

@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.

PostImpatica avatar Aug 26 '17 17:08 PostImpatica