Comments (6)
Sure! M-x customize-variable RET company-coq-prettify-symbols-alist RET should do nicely.
from company-coq.
Trying to troubleshoot the root issue too, though: did you try installing Symbola and adding (set-fontset-font t 'unicode (font-spec :name "Symbola") nil 'append)
to your .emacs? And if that doesn't work, could you try (set-fontset-font t 'unicode (font-spec :name "Symbola"))
?
from company-coq.
Just tried both of those and no dice. I dont know if it helps at all but I'm using spacemacs as my starter kit and to manager my plugins, so that might be screwing with things. I can switch the font to fonts with good symbol support but it seems like they are just getting ignored. My default font is Adobe Source Code Pro if that helps at all... Also I'm running on windows which I know can mess some things up with emacs. Thanks for your help anyways :) For now Ill just remove the offending substitutions manually.
from company-coq.
Hmm. That's unfortunate; but at least you get most of the symbols, right?
I wonder if explicitly selecting Symbola from the font selection menu solves it? (As in, it should turn everything into symbola, and then hopefully the symbols would appear). Another interesting thing would be to put the point on one of these boxes and press C-u C-x =
; that should say which font is being used for rendering.
One common problem is that a font claims to support a particular character, but in fact does not. That can trip up the fallback mechanism.
from company-coq.
Oh yeah most of them show up, just the bool, nat, and real substitutions show up as boxes. I also tried just setting all of the fonts to symbola but that didn't work either. I think it might have something to do with how Spacemacs handles fonts that is screwing things up, so its probably on my side.
I removed the offending characters from the list like you suggested with the customize variable dialog, so I don't have them in my list at the moment. If you would like, I could do some more investigation for debugging purposes, but at the moment it is all working and so I'm fine as is.
Thank you so much for the help!
(edit: removed email client crap)
from company-coq.
I'm going to close this; there seems to be a small set of people who run into this issue, but I'm afraid it's an Emacs level thing. The workaround you described is useful; thanks for sharing it!
from company-coq.
Related Issues (20)
- `M-.` and notations HOT 1
- broken Layout when using Tex HOT 1
- Compile Before Require not working anymore HOT 2
- jump to definition: new window
- New subscript syntax? HOT 2
- company-coq-go-to-point fails HOT 11
- feature wish: highlight the corresponding hyp in the goals buffer when completing.
- new hyps not proposed for completion when in diff mode. HOT 6
- PG init commands not performed when company-coq enabled before coq starts. HOT 4
- Completion becomes slower over time HOT 4
- jump to definition fails for constructors of Variants
- Tutorial outdated
- Incorrect use of Unicode symbol in error message for Coq HOT 1
- Is there a way to disable the documentation buffer? HOT 7
- Feedback from Coq Community Survey 2022.
- Improve (company-coq-occur) to cope with non-one-liner statements? HOT 2
- Requesting support for .vos (in addition to .vio) files HOT 2
- "SPP" for "Set Printing Parentheses" is useful, should be added. HOT 3
- definitions with #[local]/#[global] attributes are not shown in outline
- "with" word withing comments spills into outline
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from company-coq.