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 have updated the plugin to the latest version before submitting this issue
I have searched the existing issues of todo-comments.nvim
I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
v0.10.1
Operating system/version
Windows 11
Describe the bug
The multiline TODO comment colours the comment, but in every line it starts at the same character (i.e. not in the beginning of a new line). This is a problem, if the TODO: string is not the first string of a comment:
Steps To Reproduce
Write a comment
// some text TODO: we need a lot more text
// but there is another line with a lot of text
// and even more text in a third line here
Note that the TODO colouring starts with the TODO and on the same char index in every following line
Expected Behavior
Either the entire TODO line (and multiline comment) or at least the entire comment + full following lines are coloured
Repro
vim.env.LAZY_STDPATH=".repro"load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
require("lazy.minit").repro({
spec= {
{ "folke/todo-comments.nvim", opts= {} },
-- add any other plugins here-- no special setup
},
})
The text was updated successfully, but these errors were encountered:
I have the same problem on MacOS Sequoia. I haven't submitted an issue because I was going to see if I could fix it and submit a PR, but I haven't had time. I'll try to work on it later tonight.
Did you check docs and existing issues?
Neovim version (nvim -v)
v0.10.1
Operating system/version
Windows 11
Describe the bug
The multiline TODO comment colours the comment, but in every line it starts at the same character (i.e. not in the beginning of a new line). This is a problem, if the
TODO:
string is not the first string of a comment:Steps To Reproduce
Expected Behavior
Either the entire TODO line (and multiline comment) or at least the entire comment + full following lines are coloured
Repro
The text was updated successfully, but these errors were encountered: