Skip to content

JsDoc is not an editor command for filetype=javascriptreact/typescriptreact #116

Closed
@matt-savvy

Description

@matt-savvy

Hello,

I get error E492 Not an editor command: JsDoc for jsx and tsx files. I was able to fix this for jsx only by tweaking my vimrc to use 'javascriptreact' instead of 'javascript.jsx' like so:

Plug 'heavenshell/vim-jsdoc', {
  \ 'for': ['javascript', 'javascriptreact', 'typescript'],
  \ 'do': 'make install'
\}

But adding 'typescriptreact' doesn't seem to work for tsx.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions