[HN Gopher] Improved C syntax highlighting for Vim
___________________________________________________________________
Improved C syntax highlighting for Vim
Author : app4soft
Score : 9 points
Date : 2021-08-16 19:09 UTC (3 hours ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| CalChris wrote:
| This looks very good. Does it work with neovim?
|
| Maybe in ~/.config/nvim/after/syntax/
| _bohm wrote:
| AFAIK vimscript after/syntax/ files still work fine with
| neovim. But if you're on neovim 0.5+ I would recommend using
| the tree-sitter highlighting integration instead :)
| CalChris wrote:
| Is tree-sitter highlighting enabled by default?
| _bohm wrote:
| It is not, but there's an installation and configuration
| guide here [0] that I found pretty easy to follow
|
| [0] https://github.com/nvim-treesitter/nvim-treesitter
| Shadonototro wrote:
| the blue parenthesis are very hard to read in his screenshot
|
| other than that, looks very nice, good job!
___________________________________________________________________
(page generated 2021-08-16 23:01 UTC)