heavenshell / vim-jsdoc

Generate JSDoc to your JavaScript code.
BSD 3-Clause "New" or "Revised" License
452 stars 44 forks source link

不是编辑器的命令: commentstring< comments< #105

Closed tzws closed 3 years ago

tzws commented 3 years ago

执行 :e!

|| 处理 function 20_LoadFTPlugin 时发生错误: || 第 2 行: || E492: 不是编辑器的命令: commentstring< comments<

heavenshell commented 3 years ago

I Can't reproduce. Works fine in my env.

Please write step to reproduce with minimal vimrc

set nocompatible
filetype off
set rtp=$VIMRUNTIME

set rtp+=./path/to/vim-jsdoc
filetype plugin indent on
tzws commented 3 years ago

reproduce steps:

  1. use vim-jsonc\test-vimrc as vimrc, open some file WeChat Screenshot_20210303142942

  2. tabnew some json file

  3. :set ft=jsonc

  4. :e! error occurs WeChat Screenshot_20210303143023

  5. command history WeChat Screenshot_20210303143001

heavenshell commented 3 years ago

Sorry this is vim-jsdoc's issue. I don't know about vim-jsonc.

Please ask to vim-jsonc's repository.