diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-07-18 22:19:48 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-18 22:19:48 +0800 |
| commit | 721569dd9ba3f15159809d30b6e8dbc672fc55f4 (patch) | |
| tree | 78ab120f906e3f48832d4420cff622f09635783e /test/functional/vimscript/executable_spec.lua | |
| parent | 99a16121d4aa0affabbd37697bccc388d48d0229 (diff) | |
| download | rneovim-721569dd9ba3f15159809d30b6e8dbc672fc55f4.tar.gz rneovim-721569dd9ba3f15159809d30b6e8dbc672fc55f4.tar.bz2 rneovim-721569dd9ba3f15159809d30b6e8dbc672fc55f4.zip | |
vim-patch:9.2.0788: filetype: hip files are not recognized (#40809)
Problem: filetype: hip files are not recognized
Solution: Detect *.hip files as hip filetype, include filetype, syntax
and indent plugins, update makemenu.vim and synmenu.vim (Young)
Round out HIP (Heterogeneous-compute Interface for Portability) support
to mirror the existing CUDA files:
- autoload/dist/ft.vim: detect the ".hip" extension as filetype "hip"
- ftplugin/hip.vim: behave like C++ by sourcing ftplugin/cpp.vim
- indent/hip.vim: use cindent, like indent/cuda.vim
- makemenu.vim / synmenu.vim: add a Syntax menu entry
The syntax/hip.vim file already sources syntax/cpp.vim and adds the
HIP-specific keywords, matching syntax/cuda.vim.
closes: vim/vim#20773
https://github.com/vim/vim/commit/b3ad239038ff1d3e1708b0027454b2ef6a86a8a2
Co-authored-by: Young <young20050727@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions