BUG: all of my code is highlighted in red
Code in any filetype is always highlighted in red. It looks like the following:
This is clearly an issue, but I will need more information to help you diagnose it. When you have a buffer open and exhibiting this behaviour, could you please provide the output of the Neovim command lua print(vim.bo.textwidth)?
For now, you can disable the highlighting of overlong lines, which I believe is at fault.
require('strict').setup({ overlong_lines = { highlight = false } })
Hi! Sorry for the very late response. I must have missed your comment.
It was actually the highlight_deep_nesting() function causing the issue. The regex was applying to all the words in a file rather than the deeply nested code blocks. I reworked in and sent a pr.
Love your plugin and wish you the best for your future endeavors!
@GhoulBoii Could this be the result of the latest commit? It used to highlight only the "tabs" like shown on the readme.