diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-07-08 10:45:04 +0200 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2024-07-08 12:14:44 +0200 |
commit | 60b74f27d08a09103da87b6d52a09f1adcd3549e (patch) | |
tree | 9372dbe49d6c3049f1ef18128320ebad837f14e1 | |
parent | 4315657a36d825123f793c022d4663c0bae2b24b (diff) | |
download | rneovim-60b74f27d08a09103da87b6d52a09f1adcd3549e.tar.gz rneovim-60b74f27d08a09103da87b6d52a09f1adcd3549e.tar.bz2 rneovim-60b74f27d08a09103da87b6d52a09f1adcd3549e.zip |
vim-patch:f5398c8: runtime(cuda): include CUDA ftplugin file
closes: vim/vim#15159
https://github.com/vim/vim/commit/f5398c8975b19341831752b549b35ac5a540c91a
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
-rw-r--r-- | runtime/ftplugin/cuda.vim | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/runtime/ftplugin/cuda.vim b/runtime/ftplugin/cuda.vim new file mode 100644 index 0000000000..8770bdb674 --- /dev/null +++ b/runtime/ftplugin/cuda.vim @@ -0,0 +1,16 @@ +" Vim filetype plugin +" Language: CUDA +" Maintainer: Riley Bruins <ribru17@gmail.com> +" Last Change: 2024 Jul 06 + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +" Set 'comments' to format dashed lists in comments. +" Also include ///, used for Doxygen. +setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:///,:// +setlocal commentstring=//\ %s + +let b:undo_ftplugin = 'setl com< cms<' |