You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just tried to use this plugin, but I cannot make it work as expected.
I tried with .vue files, then with the example in the doc with the .html file with the <style> tag.
Whenever I try to get the comment string using require("ts_context_commentstring").calculate_commentstring(), it will always giving me the base HTML one (<!-- %s -->)
Screen.Recording.2024-06-09.at.01.19.59.mov
I don't know if I missed something? Did I do something wrong?
Steps to reproduce
Use the minimal config
Open a .html file or .vue file
See nothing works
Expected behavior
The plugin should correctly calculate the commentstring to use according to the current cursor position
Actual behavior
The plugin always returns the base HTML commenstring, no matter if being in a <style> tag, or <script> tag
Minimal reproducible full config
Description
I just tried to use this plugin, but I cannot make it work as expected.
I tried with
.vue
files, then with the example in the doc with the.html
file with the<style>
tag.Whenever I try to get the comment string using
require("ts_context_commentstring").calculate_commentstring()
, it will always giving me the base HTML one (<!-- %s -->
)Screen.Recording.2024-06-09.at.01.19.59.mov
I don't know if I missed something? Did I do something wrong?
Steps to reproduce
.html
file or.vue
fileExpected behavior
The plugin should correctly calculate the commentstring to use according to the current cursor position
Actual behavior
The plugin always returns the base HTML commenstring, no matter if being in a
<style>
tag, or<script>
tagAdditional context
OS:
MacOS Sonoma 14.5 (23F79)
Nvim version:
NVIM v0.9.4
(also tested withNVIM v0.11.0-dev-164+g3a1515bfe
)The text was updated successfully, but these errors were encountered: