Our great sponsors
-
headlines.nvim
This plugin adds horizontal highlights for text filetypes, like markdown, orgmode, and neorg.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
You can try headlines.nvim, though it may do more than what you want.
I went down so many rabbit holes trying to reach the same the solution. Never found it. I ended up trying out neorg to get some beautiful notes going.
Checkout https://github.com/folke/paint.nvim
I use LazyVim and this is my config https://github.com/nshern/nvim
Are you using tree sitter? If so support for this was merged relatively recently https://github.com/nvim-treesitter/nvim-treesitter/pull/4798
You can refer to my config if you like.
When you use "TSToggle hilighting" it enables syntax hilighting for the current file you are using, the one and only, probably the main issue is that .. this command disables hilighting for all other file types except for md and if you switch to another file you have to use this command again to enable hilighting .. and when you do that it enables syntax hilighting for all the file types except for markdown....and again when you switch back to markdown you have to all of it again...I wish neovim does it automatically without all of this... I am so angry and soooo over this issue .. I tried to find the solution for a long time .. i had no luck... Btw I watched some yt videos of people using vim or neovim , for them they had no issue with md syntax hilighting.. I don't know what's wrong , i even changed my config several times .but no luck.. and i am using neovim in Windows Subsystem for Linux (wsl) in windows 11. So if you find a solution please let me know. This is my config : https://github.com/horriedhenry/nvim_config
Related posts
- Question for lua Plugin devs.
- flirt.nvim - Plugin for working with floating windows (animations, mouse, etc)
- Testing my config?
- mini.animate - animate common Neovim actions (cursor movement, scroll, resize, window open/close)
- Introducing nvim-surround, a plugin for adding/changing/deleting surrounding delimiters