Comments (9)
from vim.
Question: is your terminal's font italic?
Anyway, see #242 and #219; if they don't answer your question, let us know and we'll re-open this. (The idea is that types should be italic blue, but if the terminal info read via TERM
doesn't support italic properly it may show up inverted.)
from vim.
from vim.
Perhaps you could post some code: I'll see what my vim gives with the stock cpp syntax. If that's not enough you may just need a better syntax file, or we may need to add to our highlights.
from vim.
from vim.
Huh, for some reason I can't get that formatted right. (emails don't support markdown) But I will try to get the screenshot I mentioned.
from vim.
Here's what I get. Looks fine to me. The green highlighting is from something I stole:
" ~/.vim/after/syntax/c.vim
" https://vi.stackexchange.com/q/4975/10604
syntax match cFunction "\<[a-zA-Z_][a-zA-Z_0-9]*\>[^()]*)("me=e-2
syntax match cFunction "\<[a-zA-Z_][a-zA-Z_0-9]*\>s*("me=e-1
highlight link cFunction Function
I should probably actually simplify those patterns…
from vim.
If you want more, googling vim cpp syntax
comes up with at least two possibilities:
I can't comment on how good either is
from vim.
The cpp syntax in nvim-treesitter is top-notch as well. But that requires neovim.
from vim.
Related Issues (20)
- nvim-cmp colors HOT 6
- How to change shade of green HOT 1
- Highlight works from the start with treesitter, but is lost after sourcing vimrc. HOT 23
- [advice] change the name of plugin HOT 2
- theme is transparent in kitty HOT 10
- The bg-color of neovim with dracula theme is not as in their site. HOT 4
- The highlight breaks after the second use of :colorscheme dracula HOT 3
- Issue with tree-sitter-css HOT 5
- [Feature Request]: lsp semantic highlight HOT 16
- Janky Cursorline Highlighting With Treesitter HOT 5
- Invalid character in group name HOT 14
- Colors doesn't look the same of VScode for JS files HOT 1
- Sourcing vimrc changes theme HOT 5
- can't make dracula_pro installation instructions work for me on Vim HOT 3
- Would be possible to assign a different color to a nvim :terminal window? HOT 2
- Dracula not working HOT 4
- nvim nerd font icons HOT 12
- How dracula supports italics for comments HOT 4
- Lunar Vim Color Scheme Mismatch to Other Editors HOT 1
- Treesitter Markdown highlighting HOT 8
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 vim.