Skip to content

Commit a4a8afa

Browse files
authored
feat(ft): added gdshader support (#424)
Add support for filetype `gdshader`, which is the shader programming language of [Godot game engine](https://github.com/godotengine/godot). Comment rules are explained [here](https://docs.godotengine.org/en/stable/tutorials/shaders/shaders_style_guide.html#comment-spacing).
1 parent 0c9085a commit a4a8afa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/Comment/ft.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ local L = setmetatable({
7474
fsharp = { M.cxx_l, M.fsharp_b },
7575
gdb = { M.hash },
7676
gdscript = { M.hash },
77+
gdshader = { M.cxx_l, M.cxx_b },
7778
gitignore = { M.hash },
7879
gleam = { M.cxx_l },
7980
glsl = { M.cxx_l, M.cxx_b },

0 commit comments

Comments
 (0)