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 -->)
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 -->
)https://github.com/JoosepAlviste/nvim-ts-context-commentstring/assets/72013831/15a00081-df78-42c2-a554-4c31d0589100
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
)