Closed James-Yu closed 6 months ago
@jlelong What about release the LaTeX langID check at https://github.com/James-Yu/LaTeX-Workshop/blob/bb97ed00a6f3969163e24d8cbd979bd0b1e15268/src/extras/snippet-view.ts#L12-L14
I cannot recall why we limit the snippet insertion to LaTeX-only.
I cannot think of any reason why we need to limit the snippet to LaTeX only language id editors. Setting state.editor = e
should work fine. Yet, the extension is only activated when opening a TeX related language, which is a prerequisite to using the snippet view.
Discussed in https://github.com/James-Yu/LaTeX-Workshop/discussions/4160