JoosepAlviste / nvim-ts-context-commentstring

Neovim treesitter plugin for setting the commentstring based on the cursor location in a file.
MIT License
1.18k stars 35 forks source link

vue style comment wrong #117

Closed tkkcc closed 3 months ago

tkkcc commented 3 months ago

Minimal reproducible full config

    {
      "JoosepAlviste/nvim-ts-context-commentstring",
      config = function()
        require("ts_context_commentstring").setup({
        })
      end,
    },

    {
      "numToStr/Comment.nvim",
      config = function()
        require("Comment").setup({
          pre_hook = function()
            return vim.bo.commentstring
          end,
        })
      end,
    },

Description

comment in