aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-01-23 16:33:41 +0800
committerGitHub <noreply@github.com>2025-01-23 16:33:41 +0800
commit28998e1f8a9cdca27ada7030757b7a47e99ce5b6 (patch)
treea96b5882fec2d6aee4bfcfc473446734b9e857db /runtime/lua/vim
parent4c9f3689a1c0646c8d743a2958af286b05c04ac5 (diff)
downloadrneovim-28998e1f8a9cdca27ada7030757b7a47e99ce5b6.tar.gz
rneovim-28998e1f8a9cdca27ada7030757b7a47e99ce5b6.tar.bz2
rneovim-28998e1f8a9cdca27ada7030757b7a47e99ce5b6.zip
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 https://github.com/vim/vim/commit/c04334c33f543a6b84a4442cf235d84f5eaef6bb Co-authored-by: Gordian Dziwis <gordian@dziw.is>
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r--runtime/lua/vim/filetype.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
index efc41269f8..37e6227090 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -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',