Problem: filetype: N-Quads files are not recognized
Solution: Detect *.nq files as nq filetype
Reference:
- https://www.w3.org/TR/n-quads/
closes: #18923
Signed-off-by: Gordian Dziwis <gordian@dziw.is>
Signed-off-by: Christian Brabandt <cb@256bit.org>
# Vim functions for file type detection
#
# Maintainer: The Vim Project <https://github.com/vim/vim>
-# Last Change: 2025 Dec 07
+# Last Change: 2025 Dec 14
# Former Maintainer: Bram Moolenaar <Bram@vim.org>
# These functions are moved here from runtime/filetype.vim to make startup
"norg": "norg",
# Novell netware batch files
"ncf": "ncf",
+ # N-Quads
+ "nq": "nq",
# Not Quite C
"nqc": "nqc",
# NSE - Nmap Script Engine - uses Lua syntax
ninja: ['file.ninja'],
nix: ['file.nix'],
norg: ['file.norg'],
+ nq: ['file.nq'],
nqc: ['file.nqc'],
nroff: ['file.tr', 'file.nr', 'file.roff', 'file.tmac', 'tmac.file'],
nsis: ['file.nsi', 'file.nsh'],
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1980,
/**/
1979,
/**/