From a4a8afa9043c1667a5dac3b88228f1cd33e7b9d1 Mon Sep 17 00:00:00 2001 From: Yunus <107340417+yunusey@users.noreply.github.com> Date: Sun, 9 Jun 2024 14:14:09 -0400 Subject: [PATCH] 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). --- lua/Comment/ft.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/Comment/ft.lua b/lua/Comment/ft.lua index ed4538d..f8bcd99 100644 --- a/lua/Comment/ft.lua +++ b/lua/Comment/ft.lua @@ -74,6 +74,7 @@ local L = setmetatable({ fsharp = { M.cxx_l, M.fsharp_b }, gdb = { M.hash }, gdscript = { M.hash }, + gdshader = { M.cxx_l, M.cxx_b }, gitignore = { M.hash }, gleam = { M.cxx_l }, glsl = { M.cxx_l, M.cxx_b },