summaryrefslogtreecommitdiff
path: root/uvim/runtime/syntax/ptx.vim
diff options
context:
space:
mode:
authorMehmet Samet Duman <yongdohyun@projecttick.org>2026-04-03 22:21:25 +0300
committerMehmet Samet Duman <yongdohyun@projecttick.org>2026-04-04 00:23:03 +0300
commit2eae5db069dc171f74cd863487655f6a88e5384d (patch)
tree2d9d05e09978a2a44acbfbb8d651f240df3ca052 /uvim/runtime/syntax/ptx.vim
parent473d922faed49241a5d29d9e37dc4819cd512006 (diff)
downloadProject-Tick-2eae5db069dc171f74cd863487655f6a88e5384d.tar.gz
Project-Tick-2eae5db069dc171f74cd863487655f6a88e5384d.zip
NOISSUE rebrand vim to MNV's not Vim
Signed-off-by: Mehmet Samet Duman <yongdohyun@projecttick.org>
Diffstat (limited to 'uvim/runtime/syntax/ptx.vim')
-rw-r--r--uvim/runtime/syntax/ptx.vim52
1 files changed, 0 insertions, 52 deletions
diff --git a/uvim/runtime/syntax/ptx.vim b/uvim/runtime/syntax/ptx.vim
deleted file mode 100644
index 98de4ff6d3..0000000000
--- a/uvim/runtime/syntax/ptx.vim
+++ /dev/null
@@ -1,52 +0,0 @@
-" Vim syntax file
-" Language: Nvidia PTX (Parallel Thread Execution)
-" Maintainer: Yinzuo Jiang <jiangyinzuo@foxmail.com>
-" Latest Revision: 2024-12-05
-
-if exists("b:current_syntax")
- finish
-endif
-
-let s:cpo_save = &cpo
-set cpo&vim
-
-syntax iskeyword .,_,a-z,48-57
-
-" https://docs.nvidia.com/cuda/parallel-thread-execution/#directives
-syntax keyword ptxFunction .entry .func
-syntax keyword ptxDirective .branchtargets .file .loc .secion .maxnctapersm .maxnreg .minnctapersm .noreturn .pragma .reqntid .target .version .weak
-syntax keyword ptxOperator .address_size .alias .align .callprototype .calltargets
-syntax keyword ptxStorageClass .common .const .extern .global .local .param .reg .sreg .shared .tex .visible
-syntax keyword ptxType .explicitcluster .maxclusterrank .reqnctapercluster
-
-" https://docs.nvidia.com/cuda/parallel-thread-execution/#fundamental-types
-" signed integer
-syntax keyword ptxType .s8 .s16 .s32 .s64
-" unsigned integer
-syntax keyword ptxType .u8 .u16 .u32 .u64
-" floating-point
-syntax keyword ptxType .f16 .f16x2 .f32 .f64
-" bits (untyped)
-syntax keyword ptxType .b8 .b16 .b32 .b64 .b128
-" predicate
-syntax keyword ptxType .pred
-
-" https://docs.nvidia.com/cuda/parallel-thread-execution/#instruction-statements
-syntax keyword ptxStatement ret
-
-syntax region ptxCommentL start="//" skip="\\$" end="$" keepend
-syntax region ptxComment matchgroup=ptxCommentStart start="/\*" end="\*/" extend
-
-hi def link ptxFunction Function
-hi def link ptxDirective Keyword
-hi def link ptxOperator Operator
-hi def link ptxStorageClass StorageClass
-hi def link ptxType Type
-hi def link ptxStatement Statement
-
-hi def link ptxCommentL ptxComment
-hi def link ptxCommentStart ptxComment
-hi def link ptxComment Comment
-
-let &cpo = s:cpo_save
-unlet s:cpo_save