vim-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: vim/vim#16387

616219f684

Co-authored-by: mtvare6 <mtvare6@proton.me>
This commit is contained in:
Christian Clason
2025-01-07 21:32:55 +01:00
committed by Christian Clason
parent 141114c170
commit 561580aba5
4 changed files with 416 additions and 0 deletions

View File

@@ -1097,6 +1097,7 @@ local extension = {
la = 'sh',
lai = 'sh',
mdd = 'sh',
slang = 'shaderslang',
sieve = 'sieve',
siv = 'sieve',
sig = detect.sig,