Skip to content
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

Include "CN" column number symbol #291

Open
ogarcia opened this issue May 23, 2022 · 4 comments
Open

Include "CN" column number symbol #291

ogarcia opened this issue May 23, 2022 · 4 comments

Comments

@ogarcia
Copy link

ogarcia commented May 23, 2022

If you use vim with airline and powerline enabled you need a "CN" symbol at U+E0A3 like the "LN" symbol.

Sample: https://github.com/ryanoasis/powerline-extra-symbols/blob/master/img/fontforge.png
Code: https://github.com/vim-airline/vim-airline/blob/master/doc/airline.txt#L397

Could this be added to Source Code Pro?

@fourpastmidnight
Copy link

You don't "need" it. But, it is nice to have. Having said that, there is an option, at least with vim-airline to set the font face to be used in the powerline. So, your regular editor font could be SoureCode Pro while the powerline font could be, for example, FiraCode.

Check out the documentation on vim-airline.

@ogarcia
Copy link
Author

ogarcia commented May 24, 2022

[..] So, your regular editor font could be SoureCode Pro while the powerline font could be, for example, FiraCode.

Yes, I know. Although it is not as you say, since vim (in console) can have only one active font. What you can do is to configure airline to use a different symbol for colnr.

@fourpastmidnight
Copy link

Did you check out the Nerd Font website? They take fonts and add the Powerline symbols to them. I prefer Microsoft's Cascadia Code, for example, and Nerd Font patched the font with the Powerline symbols and called it Kaskadia Cove.

I beleieve they've done the same with SourceCode Pro. Other fonts they've patched are FiraCode and Hasklig, among many others.

@pauldhunt
Copy link
Contributor

@ogarcia I’ll add this in the next revision.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants