Skip to content

keltar/sdl2_vim_syntax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SDL2 Vim syntax file

This file adds Vim/Neovim syntax highlighting for SDL2.

Usage

Copy sdl2.vim to ~/.vim/syntax/ and add this to your ~/.vimrc:

augroup sdl2
    autocmd!
    autocmd FileType c,cpp source ~/.vim/syntax/sdl2.vim
augroup END

Generating the Syntax File

The file can be re-generated with generator/sdl2_vim.py. Run it like:

$ ./sdl2_vim.py /usr/include/SDL2/

The generator script requires pycparser. The generator/utils directory also belongs to pycparser.

License

About

vim syntax highlighting for SDL2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •