vim-patch:9.1.1045: filetype: N-Tripels and TriG files are not recognized (#32170)

Problem:  filetype: N-Tripels and TriG files are not recognized
Solution: detect '*.nt' files as ntriples filetype and '*.trig' files
          as trig filetype (Gordian Dziwis)

closes: vim/vim#16493

c04334c33f

Co-authored-by: Gordian Dziwis <gordian@dziw.is>
This commit is contained in:
zeertzjq
2025-01-23 16:33:41 +08:00
committed by GitHub
parent 4c9f3689a1
commit 28998e1f8a
2 changed files with 4 additions and 0 deletions

View File

@@ -845,6 +845,7 @@ local extension = {
tr = 'nroff',
nsi = 'nsis',
nsh = 'nsis',
nt = 'ntriples',
nu = 'nu',
obj = 'obj',
objdump = 'objdump',
@@ -1240,6 +1241,7 @@ local extension = {
toml = 'toml',
tpp = 'tpp',
treetop = 'treetop',
trig = 'trig',
slt = 'tsalt',
tsscl = 'tsscl',
tssgm = 'tssgm',