mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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
84394f2be4
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
This commit is contained in:
parent
d432bba4e4
commit
5f0224e848
@ -459,6 +459,8 @@ local extension = {
|
||||
gift = 'gift',
|
||||
gleam = 'gleam',
|
||||
glsl = 'glsl',
|
||||
gn = 'gn',
|
||||
gni = 'gn',
|
||||
gpi = 'gnuplot',
|
||||
go = 'go',
|
||||
gp = 'gp',
|
||||
|
@ -267,6 +267,7 @@ func s:GetFilenameChecks() abort
|
||||
\ 'gkrellmrc': ['gkrellmrc', 'gkrellmrc_x'],
|
||||
\ 'gleam': ['file.gleam'],
|
||||
\ 'glsl': ['file.glsl'],
|
||||
\ 'gn': ['file.gn', 'file.gni'],
|
||||
\ 'gnash': ['gnashrc', '.gnashrc', 'gnashpluginrc', '.gnashpluginrc'],
|
||||
\ 'gnuplot': ['file.gpi', '.gnuplot'],
|
||||
\ 'go': ['file.go'],
|
||||
|
Loading…
Reference in New Issue
Block a user