1
0
forked from aniani/vim

patch 9.1.0610: filetype: OpenGL Shading Language files are not detected

Problem:  filetype: OpenGL Shading Language files are not detected
Solution: detect various file extensions as GLSL filetype, include
          indent and syntax script, do no longer recognize '*.comp'
          as Mason filetype (Gregory Anders)

closes: #15317

Signed-off-by: Gregory Anders <greg@gpanders.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Gregory Anders
2024-07-22 20:33:48 +02:00
committed by Christian Brabandt
parent 9d57ea5cd3
commit e4b991ed36
6 changed files with 777 additions and 5 deletions

View File

@@ -295,7 +295,7 @@ def s:GetFilenameChecks(): dict<list<string>>
gitsendemail: ['.gitsendemail.msg.xxxxxx'],
gkrellmrc: ['gkrellmrc', 'gkrellmrc_x'],
gleam: ['file.gleam'],
glsl: ['file.glsl'],
glsl: ['file.glsl', 'file.vert', 'file.tesc', 'file.tese', 'file.geom', 'file.frag', 'file.comp', 'file.rgen', 'file.rmiss', 'file.rchit', 'file.rahit', 'file.rint', 'file.rcall'],
gn: ['file.gn', 'file.gni'],
gnash: ['gnashrc', '.gnashrc', 'gnashpluginrc', '.gnashpluginrc'],
gnuplot: ['file.gpi', '.gnuplot', 'file.gnuplot', '.gnuplot_history'],
@@ -433,7 +433,7 @@ def s:GetFilenameChecks(): dict<list<string>>
map: ['file.map'],
maple: ['file.mv', 'file.mpl', 'file.mws'],
markdown: ['file.markdown', 'file.mdown', 'file.mkd', 'file.mkdn', 'file.mdwn', 'file.md'],
mason: ['file.mason', 'file.mhtml', 'file.comp'],
mason: ['file.mason', 'file.mhtml'],
master: ['file.mas', 'file.master'],
matlab: ['file.m'],
maxima: ['file.demo', 'file.dmt', 'file.dm1', 'file.dm2', 'file.dm3',

View File

@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
610,
/**/
609,
/**/