Open daut opened 9 months ago
Some snippets for js-mode depend on things from js2-mode which is an external package, it should be checked if that package is installed before the functions are used.
Current offenders after a quick search:
snippets/js-mode/type-inline-comment:4:#condition: (not (= (js2-node-type (js2-node-at-point)) js2-COMMENT))
snippets/js-mode/return-comment:4:#condition: (= (js2-node-type (js2-node-at-point)) js2-COMMENT)
snippets/js-mode/type-multiline-comment:4:#condition: (= (js2-node-type (js2-node-at-point)) js2-COMMENT)
snippets/js-mode/param-comment:4:#condition: (= (js2-node-type (js2-node-at-point)) js2-COMMENT)
Initially reported here: https://github.com/joaotavora/yasnippet/issues/1186
When working with
<style>
blocks of the.vue
files I get the following errors when trying to expandlsp-mode
suggestions.Additionally Emacs freezes for couple of seconds before completing the selection.
I get similar errors when editing
<script>
tags too, but without freeze.When I turn off
yas-minor-mode
Emacs stops freezing.Below are parts of my .emacs file related to
yas
,lsp-mode
andcompany-mode