Closed michael-odonovan closed 1 year ago
Hey @michael-odonovan! The configuration seems correct. Here are a few questions and things to try:
CursorHold
autocommand. Have you configured your updatetime
to be smaller? E.g., vim.opt.updatetime = 100
:=require('ts_context_commentstring.internal').calculate_commentstring()
. This should return the correct commentstring based on your cursor location.Hey Joosep, Thanks for getting back to me, your suggestions were really helpful. After reading your README I realised I was missing the config that points Comment.nvim to you ts-context plugin. My dumb. Very cool plugin, thanks
Glad to hear it! Although it should still work without the integration. Oh well 😄
This is my config:
Is there something I am missing?