Open
Description
I found that some snippets inside js-mode have dependency on functions of js2-mode, which causes errors reported if I do not have js2-mode installed.
For example, the 'param-comment' snippet is defined as:
# -*- mode: snippet -*-
# name: param-comment
# key: *@p
#condition: (= (js2-node-type (js2-node-at-point)) js2-COMMENT)
# --
* @param {${type}} ${comment}.
So, is it more appropriate to put those snippets which depend on js2-mode into js2-mode snippets?
Thanks and look forward to hearing from you.
Metadata
Metadata
Assignees
Labels
No labels