mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
vim-patch:9.1.0610: filetype: OpenGL Shading Language files are not detected (#29831)
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: vim/vim#15317
e4b991ed36
This commit is contained in:
@@ -485,7 +485,19 @@ local extension = {
|
||||
gift = 'gift',
|
||||
prettierignore = 'gitignore',
|
||||
gleam = 'gleam',
|
||||
vert = 'glsl',
|
||||
tesc = 'glsl',
|
||||
tese = 'glsl',
|
||||
glsl = 'glsl',
|
||||
geom = 'glsl',
|
||||
frag = 'glsl',
|
||||
comp = 'glsl',
|
||||
rgen = 'glsl',
|
||||
rmiss = 'glsl',
|
||||
rchit = 'glsl',
|
||||
rahit = 'glsl',
|
||||
rint = 'glsl',
|
||||
rcall = 'glsl',
|
||||
gn = 'gn',
|
||||
gni = 'gn',
|
||||
gnuplot = 'gnuplot',
|
||||
@@ -695,7 +707,6 @@ local extension = {
|
||||
markdown = detect.markdown,
|
||||
mdown = detect.markdown,
|
||||
mhtml = 'mason',
|
||||
comp = 'mason',
|
||||
mason = 'mason',
|
||||
master = 'master',
|
||||
mas = 'master',
|
||||
|
||||
Reference in New Issue
Block a user