User Tools

Site Tools


vim:custom_syntax_highlighting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
vim:custom_syntax_highlighting [2021/02/15 21:15] petervim:custom_syntax_highlighting [2021/02/15 21:59] (current) peter
Line 11: Line 11:
 ---- ----
  
-<file vim syntax>+<file vim syntax.vim>
 syntax keyword cFunction abort syntax keyword cFunction abort
 syntax keyword cFunction abs syntax keyword cFunction abs
Line 20: Line 20:
 ... ...
 highlight link cFunction Function highlight link cFunction Function
-</file vim>+</file>
  
 <WRAP info> <WRAP info>
Line 44: Line 44:
  
 <code vim> <code vim>
-nmap + :so ~/.vim/syntax.vim<CR>+nmap + :so ~/.vim/syntax.vim
 </code> </code>
  
Line 51: Line 51:
 </WRAP> </WRAP>
  
 +----
 +
 +===== References =====
 +
 +https://github.com/octol/vim-cpp-enhanced-highlight/blob/master/after/syntax/c.vim
 +
 +https://github.com/octol/vim-cpp-enhanced-highlight
vim/custom_syntax_highlighting.1613423714.txt.gz · Last modified: 2021/02/15 21:15 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki