Files
rocm-systems/util/vim

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