mirror of
https://github.com/vim/vim.git
synced 2026-05-06 12:26:58 -04:00
cb0b4cf45c
closes: #20135 Signed-off-by: Felipe Matarazzo <felipemps@protonmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
18 lines
448 B
VimL
18 lines
448 B
VimL
" Vim filetype plugin file
|
|
" Language: Nvidia PTX (Parallel Thread Execution)
|
|
" Maintainer: Yinzuo Jiang <jiangyinzuo@foxmail.com>
|
|
" Last Change: 2024-12-05
|
|
" 2026 May 04 by Vim Project: fix typo
|
|
|
|
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<'
|