Mercurial > vim
comparison runtime/syntax/cuda.vim @ 13231:167a030448fa
Update runtime files.
commit https://github.com/vim/vim/commit/7254067ee970686cc3ff4a1effc3e49e9192a5c1
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 9 22:00:53 2018 +0100
Update runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 09 Feb 2018 22:15:07 +0100 |
parents | 43efa4f5a8ea |
children | e7137eab4b6f |
comparison
equal
deleted
inserted
replaced
13230:0b201ae05cd3 | 13231:167a030448fa |
---|---|
1 " Vim syntax file | 1 " Vim syntax file |
2 " Language: CUDA (NVIDIA Compute Unified Device Architecture) | 2 " Language: CUDA (NVIDIA Compute Unified Device Architecture) |
3 " Maintainer: Timothy B. Terriberry <tterribe@users.sourceforge.net> | 3 " Maintainer: Timothy B. Terriberry <tterribe@users.sourceforge.net> |
4 " Last Change: 2007 Oct 13 | 4 " Last Change: 2018 Feb 06 |
5 | 5 |
6 " quit when a syntax file was already loaded | 6 " quit when a syntax file was already loaded |
7 if exists("b:current_syntax") | 7 if exists("b:current_syntax") |
8 finish | 8 finish |
9 endif | 9 endif |
10 | 10 |
11 " Read the C syntax to start with | 11 " Read the C++ syntax to start with |
12 runtime! syntax/c.vim | 12 runtime! syntax/cpp.vim |
13 | 13 |
14 " CUDA extentions | 14 " CUDA extentions |
15 syn keyword cudaStorageClass __device__ __global__ __host__ | 15 syn keyword cudaStorageClass __device__ __global__ __host__ |
16 syn keyword cudaStorageClass __constant__ __shared__ | 16 syn keyword cudaStorageClass __constant__ __shared__ |
17 syn keyword cudaStorageClass __inline__ __align__ __thread__ | 17 syn keyword cudaStorageClass __inline__ __align__ __thread__ |