-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Flickering" and missing headlines #41
Comments
For 2 and 3 please see what I wrote in the other ticket. For 1, this is actually a bug in Neovim. I have reported it here neovim/neovim#19557 |
I will do it asap today.
Very interesting! It seems like something that should have been discovered as a bug in Neovim a long time ago, as soon as this feature was introduced in Neovim. Very interesting. |
I prefer to change the font I am using.
|
Yes, the font in the terminal. |
Interestingly, their README says that my terminal of choice, Alacritty, is not supported. Here is the link: https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/FiraCode#terminal-compatibility-list. Perhaps, maybe, you know of some other font that will work with |
I think it's only the ligatures that won't work, alacritty just doesn't support those. You should still be able to use the font |
I am sorry, I don't understand any of it. Can you please explain it again using different words? P.S.
As can be seen from the above, I am thoroughly confused :-) |
|
orgmode.nvim takes the colors from your colorsheme. So if that has background colors, it will have too.
It is. This is a bit complicated. You have the first level of highlights from your colorscheme. Then this plugin adds highlights to change the background color of the headline. But then, org-bullets adds the bullets to the headlines, and they have background color too. org-bullets has the highest priority, so it overwrites the background color from this plugin. I don't use Alacritty myself, it's possible it just can't display that character. You can still just use a different character, like the one I posted in the original issue. |
I've decided to permanently move to kitty+Fira Code, and problem number 3 is gone. Thank you :-) |
I did that, and problem number 2 still exists. Suggestions please :-) |
Location matters, you need to do this after your colorscheme loads, but before org-bullets setup |
Problem number 2 still remains, but much less in quantity. I will blame the Neovim bug you mentioned :-) |
@nyngwang the squares are related to the font used in your terminal. Seems that FiraCode would work. I personally use Nerd Font Hack and configured like this to get rid of the squares (using return {
"lukas-reineke/headlines.nvim",
dependencies = "nvim-treesitter/nvim-treesitter",
opts = {
markdown = {
fat_headline_lower_string = "▔",
},
},
} @lukas-reineke Thanks for the plugin! May I suggest to mention the font "requirement" somewhere in the README.md? |
- Uses this fix: - lukas-reineke/headlines.nvim#41 - Added to `lua/plugins/headline.lua` new config overrider - Full spec from lazyvim inclusion is here: - https://www.lazyvim.org/extras/lang/markdown#headlinesnvim
Hard to describe in words, please see the attached screenshot, and then I will try to explain in words.
Saw the screenshot? Great.
cat file.org
.Here the org file to reproduce it: https://pastebin.pl/view/6d3fc321.
Neovim version 0.7.2.
A requested, I am reopening this issue from here: nvim-orgmode/orgmode#378.
The text was updated successfully, but these errors were encountered: