-
Notifications
You must be signed in to change notification settings - Fork 171
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
ligatures font support #166
Comments
That is something that would have to be done upstream see neovim/neovim#1408 |
I thought it is something that could be implemeted only in client gui. |
Possible. But would require some large changes in drawing. Need to check further. |
This weekend I'll try to take a look at this and see if I can figure something out |
I'd love is this could be a thing. I switched to neovim-gtk for a couple months simply for this feature, but I'm about to abandon that project due to UI lag, flickering, slowness, and general breakage of mappings. Never had any of those issues with neovim-qt. Is there anyway you can use whatever ligature logic they have from that project and adapt it here? |
@razor-x It's probably offtopic, about flickering in neovim-gtk (I'm using this GUI for about half a year), it have been fixed in master branch, see this issue by enabling double-buffering with environment variable It is also in active development by the maintainer, so other issues you had could be fixed too if you try latest commit from master branch. UPD 19 June 2018: Now this flickering bug is fixed and you don't have to use any hacks such as double buffering enabled by environment variable. |
Thanks for the update. I may have been a bit harsh with my feedback on neovim-gtk. Some issues were plugin related I think. I also noticed a lag when writing with one of my keybinds, but now I suspect this is a lower-level issue unrelated to the GUIs ( I did end up switching back to qt out of eventual frustration. The key factor was speed for me: neovim-qt just feels faster for my day to day work. I'll keep trying out newer every so often to see how they compare. |
Any update on this one?… |
None on my end. |
|
👍 this would be great. |
Ligatures are now available in The feature should be available for release |
From your commit hash, it looks like you have the required changes. I would guess the shim is not loading properly. There is a plugin that need to load for all of the You can see where the runtime is loaded from in the
If you are compiling If you are connecting to a remote instance of NOTE: As of writing this, I haven't added the changes to the plugin above. They will be added soon... |
I have also a couple of rendering issues, will open an issue later. |
These are my logs: $ echo NVIM_QT_RUNTIME_PATH
/home/himu/programs/neovim-qt/src/gui/runtime
$ ./build/bin/nvim-qt --version
NVIM-QT v0.2.17.9999
Build type: Release
Compilation: -Wall -Wextra -Wno-unused-parameter -Wunused-variable -std=c++11
Qt Version: 5.15.2
Environment:
nvim: nvim
args: --cmd set termguicolors
runtime:
NVIM v0.4.3
.... |
Hi, I installed neovim-qt using the Ubuntu package repository with The command I added the function and command found here in my config. Using the font JetBrains Mono I opened neovim-qt and typed |
Font ligatures are only supported in not-yet released builds. See: |
It would be fantastic that NeoVim could support some ligatures programming font like FiraCode.
There exists a patch to VIM to enable this.
The text was updated successfully, but these errors were encountered: