Files
rocm-systems/projects/hip/util/vim
Ben Sander 35801146d2 Remove some TODO items
Change-Id: I7e9de2e43a8584f8dc9ee6d45c8ed00ca465f591


[ROCm/hip commit: d21d3ec222]
2016-10-18 22:27:16 -05:00
..
2016-10-18 22:27:16 -05:00
2016-01-26 20:14:33 -06:00

How to install?

  1. Add the hip.vim to ~/.vim/syntax/ directory
  2. Add the following text to the end of ~/.vimrc
augroup filetypedetect
 au BufNewFile,BufRead *.cpp set filetype=cpp syntax=hip
augroup END
augroup filetypedetect
 au BufNewFile,BufRead *.c set filetype=c syntax=hip
augroup END
augroup filetypedetect
 au BufNewFile,BufRead *.cu set filetype=cu syntax=hip
augroup END