aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorAmaan Qureshi <amaanq12@gmail.com>2023-03-22 04:19:56 -0400
committerGitHub <noreply@github.com>2023-03-22 16:19:56 +0800
commit48ce2ef912cbbe43b85b45a8a97f8d240318718a (patch)
treeade3049239944f9ba6e27fd78b09cd74bf2affdb /runtime/lua/vim
parenta7b537c7a4e5b6114cd75df5178199f4449c6480 (diff)
downloadrneovim-48ce2ef912cbbe43b85b45a8a97f8d240318718a.tar.gz
rneovim-48ce2ef912cbbe43b85b45a8a97f8d240318718a.tar.bz2
rneovim-48ce2ef912cbbe43b85b45a8a97f8d240318718a.zip
vim-patch:9.0.{1419,1421,1422,1423}: some files are not recognized (#22749)
vim-patch:9.0.1419: Lean files are not recognized Problem: Lean files are not recognized. Solution: Add a pattern for Lean files. (Amaan Qureshi, closes vim/vim#12177) https://github.com/vim/vim/commit/4a5c39fc52a73d46ac77cf574f765a465befc3c0 vim-patch:9.0.1421: Nu files are not recognized Problem: Nu files are not recognized. Solution: Add a pattern for Nu files. (Amaan Qureshi, closes vim/vim#12172) https://github.com/vim/vim/commit/8aa2a37f8983a7863afa32d9ffbe64b2f2bc70be vim-patch:9.0.1422: Sage files are not recognized Problem: Sage files are not recognized. Solution: Add a pattern for Sage files. (Amaan Qureshi, closes vim/vim#12176) https://github.com/vim/vim/commit/d0639d717ba7cf8b04b588aadd0b379ed43a5f1f vim-patch:9.0.1423: WebAssembly Interface Type files are not recognized Problem: WebAssembly Interface Type files are not recognized. Solution: Add a pattern for WIT files. (Amaan Qureshi, closes vim/vim#12173) https://github.com/vim/vim/commit/890c77203637626b1005db818667084d11e653e7
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r--runtime/lua/vim/filetype.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
index 5127474765..fa4208e2a4 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -593,6 +593,7 @@ local extension = {
lte = 'latte',
ld = 'ld',
ldif = 'ldif',
+ lean = 'lean',
journal = 'ledger',
ldg = 'ledger',
ledger = 'ledger',
@@ -908,6 +909,7 @@ local extension = {
builder = 'ruby',
rake = 'ruby',
rs = 'rust',
+ sage = 'sage',
sas = 'sas',
sass = 'sass',
sa = 'sather',
@@ -1106,6 +1108,7 @@ local extension = {
wdl = 'wdl',
wm = 'webmacro',
wbt = 'winbatch',
+ wit = 'wit',
wml = 'wml',
wsml = 'wsml',
ad = 'xdefaults',
@@ -1543,6 +1546,8 @@ local filename = {
NEWS = function(path, bufnr)
return require('vim.filetype.detect').news(bufnr)
end,
+ ['env.nu'] = 'nu',
+ ['config.nu'] = 'nu',
['.ocamlinit'] = 'ocaml',
['.octaverc'] = 'octave',
octaverc = 'octave',