Skip to content

beyondmarc/opengl.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

OpenGL syntax highlighter for C and C++ source files.

Instructions
===========================================================
Using the Pathogen plugin:
(http://vimcasts.org/episodes/synchronizing-plugins-with-git-submodules-and-pathogen/)

From your ~/.vim directory:
    git submodule add [email protected]:beyondmarc/opengl.vim.git bundle/syntax_opengl

Add a hard link to your ~/.vim/after/syntax/cpp
    ln bundle/syntax_opengl/syntax/opengl.vim after/syntax/cpp

If not using the Pathogen plugin:
Add the opengl.vim file into your vim syntax folder (in most Linux distros:
/usr/share/vim/vim<version>/syntax), and add the following line at the bottom
of your .vimrc file (for vim 7.2):
    
    autocmd FileType c,cpp,h,hpp source /usr/share/vim/vim72/syntax/opengl.vim

About

OpenGL Vim syntax highlighting

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •