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