sponsor Vim development Vim logo Vim Book Ad

vim-cuda-syntax : CUDA syntax highlighting for Vim

 script karma  Rating 0/0, Downloaded by 156  Comments, bugs, improvements  Vim wiki

created by
foo bar
 
script type
syntax
 
description
Syntax highlighting for CUDA in Vim. Compared to Vim's default CUDA syntax file, it adds highlighting of all CUDA defined:

- types
- enums
- constants
- global variables
- namespaces
- thrust keywords

All keywords are accumulated from the CUDA Toolkit Documentation.

Optionally triple-angle brackets in CUDA kernel calls can be highlighted.

https://github.com/bfrg/vim-cuda-syntax
 
install details
Run the following in the terminal:

cd ~/.vim/pack/git-plugins/start
git clone https://github.com/bfrg/vim-cuda-syntax

Note: The directory name git-plugins is arbitrary, you can pick any other name. For more details see :help packages.

Alternatively, use your favorite plugin manager.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-cuda-syntax.tar.gz 1.0 2021-07-23 7.0 foo bar Initial upload
ip used for rating: 18.118.30.253

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github