]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0995: filetype: shaderslang files are not detected v9.1.0995
authormtvare6 <mtvare6@proton.me>
Tue, 7 Jan 2025 19:31:27 +0000 (20:31 +0100)
committerChristian Brabandt <cb@256bit.org>
Tue, 7 Jan 2025 19:31:27 +0000 (20:31 +0100)
commit616219f684744bcfad61a53c13166cda9b141dea
tree3188884dacdf15a9a483a9c859d67f9b25a18eaa
parent0072ceedc66c4bc26c98d2e9bd81973bbe3f7f74
patch 9.1.0995: filetype: shaderslang files are not detected

Problem:  filetype: shaderslang files are not detected
Solution: detect '*.slang' files as shaderslang filetype,
          include a filetype and syntax script (mtvare6)

Reference:
https://shader-slang.com/

closes: #16387

Signed-off-by: mtvare6 <mtvare6@proton.me>
Signed-off-by: Christian Brabandt <cb@256bit.org>
.github/MAINTAINERS
runtime/filetype.vim
runtime/ftplugin/shaderslang.vim [new file with mode: 0644]
runtime/syntax/shaderslang.vim [new file with mode: 0644]
src/testdir/test_filetype.vim
src/version.c