made the pack completely portable and wrote relevent bat files to go with it
This commit is contained in:
16
gitportable/usr/share/vim/vim91/ftplugin/ptx.vim
Normal file
16
gitportable/usr/share/vim/vim91/ftplugin/ptx.vim
Normal file
@@ -0,0 +1,16 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: Nvidia PTX (Parellel Thread Execution)
|
||||
" Maintainer: Yinzuo Jiang <jiangyinzuo@foxmail.com>
|
||||
" Last Change: 2024-12-05
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
" Comments in PTX follow C/C++ syntax
|
||||
" See: https://docs.nvidia.com/cuda/parallel-thread-execution/#syntax
|
||||
setlocal commentstring=//\ %s
|
||||
|
||||
let b:undo_ftplugin = 'setl commentstring<'
|
||||
Reference in New Issue
Block a user