]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1360: filetype: GNU Radio companion files are not recognized v9.1.1360
authorzeertzjq <zeertzjq@outlook.com>
Fri, 2 May 2025 13:35:58 +0000 (15:35 +0200)
committerChristian Brabandt <cb@256bit.org>
Fri, 2 May 2025 13:35:58 +0000 (15:35 +0200)
commitaf4a5d6e2ae57a44edab48c8b012d2afa743998f
treede04a3487ef5664a1de2026f4e8f29058875fbaa
parent9c9200d1eafe50077222a38bfad6cba7156a6487
patch 9.1.1360: filetype: GNU Radio companion files are not recognized

Problem:  filetype: GNU Radio companion files are not recognized
Solution: detect *.grc files as xml or yaml filetype depending on the
          first line (zeertzjq).

Ref:
- https://wiki.gnuradio.org/index.php/XML_GRC
- https://wiki.gnuradio.org/index.php/YAML_GRC

closes: #17241

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/filetype.vim
src/testdir/test_filetype.vim
src/version.c