vim-patch:9.1.1548: filetype: OpenFGA files are not recognized

Problem:  filetype: OpenFGA files are not recognized
Solution: detect *.fga files as fga filetype, include an fga filetype
          plugin (Riley Bruins)

References:
https://github.com/openfga
https://marketplace.visualstudio.com/items?itemName=openfga.openfga-vscode

closes: vim/vim#17752

0992f62fc1

Co-authored-by: Riley Bruins <ribru17@hotmail.com>
This commit is contained in:
Christian Clason
2025-07-15 22:46:12 +02:00
committed by Christian Clason
parent fa648731ec
commit 4195b82ec9
3 changed files with 15 additions and 0 deletions

View File

@@ -285,6 +285,7 @@ func s:GetFilenameChecks() abort
\ 'faust': ['file.dsp', 'file.lib'],
\ 'fennel': ['file.fnl', '.fennelrc', 'fennelrc'],
\ 'fetchmail': ['.fetchmailrc'],
\ 'fga': ['file.fga'],
\ 'fgl': ['file.4gl', 'file.4gh', 'file.m4gl'],
\ 'firrtl': ['file.fir'],
\ 'fish': ['file.fish'],