neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

ptx.vim (409B)


      1 " Vim filetype plugin file
      2 " Language:	Nvidia PTX (Parellel Thread Execution)
      3 " Maintainer:	Yinzuo Jiang <jiangyinzuo@foxmail.com>
      4 " Last Change:	2024-12-05
      5 
      6 if exists("b:did_ftplugin")
      7  finish
      8 endif
      9 
     10 let b:did_ftplugin = 1
     11 
     12 " Comments in PTX follow C/C++ syntax
     13 " See: https://docs.nvidia.com/cuda/parallel-thread-execution/#syntax
     14 setlocal commentstring=//\ %s
     15 
     16 let b:undo_ftplugin = 'setl commentstring<'