From 5f0224e848740eaf8fa68fe9cd89b060b31616fc Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Mon, 23 Oct 2023 19:19:58 +0200 Subject: vim-patch:9.0.2060: *.{gn,gni} files are not recognized Problem: *.{gn,gni} files are not recognized Solution: Detect some as gn filetype (without adding an extra filetype) Those come from: https://gn.googlesource.com/gn/ closes: vim/vim#13405 https://github.com/vim/vim/commit/84394f2be4a750f1e26b478e36de041663f4b5a4 Co-authored-by: Amaan Qureshi --- runtime/lua/vim/filetype.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runtime/lua/vim') diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index 6dbfd7e64d..ec3f89da32 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -459,6 +459,8 @@ local extension = { gift = 'gift', gleam = 'gleam', glsl = 'glsl', + gn = 'gn', + gni = 'gn', gpi = 'gnuplot', go = 'go', gp = 'gp', -- cgit