commit 45ae5c6dc5af63957eb2009e0425d91a3cc79d66
parent ba887da97708545f1174e387b4807119ad5a40f6
Author: Christian Clason <c.clason@uni-graz.at>
Date: Thu, 20 Oct 2022 22:49:22 +0200
vim-patch:9.0.0808: jsonnet filetype detection has a typo (#20753)
Problem: jsonnet filetype detection has a typo.
Solution: Change "libjsonnet" to "libsonnet". (Maxime Brunet, closes vim/vim#11412)
https://github.com/vim/vim/commit/6c8bc37a1083d17447156592f6f52da2d40b4855
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
@@ -564,7 +564,7 @@ local extension = {
json5 = 'json5',
jsonc = 'jsonc',
jsonnet = 'jsonnet',
- libjsonnet = 'jsonnet',
+ libsonnet = 'jsonnet',
jsp = 'jsp',
jl = 'julia',
kv = 'kivy',
diff --git a/src/nvim/testdir/test_filetype.vim b/src/nvim/testdir/test_filetype.vim
@@ -291,7 +291,7 @@ let s:filename_checks = {
\ 'json': ['file.json', 'file.jsonp', 'file.json-patch', 'file.webmanifest', 'Pipfile.lock', 'file.ipynb', '.babelrc', '.eslintrc', '.prettierrc', '.firebaserc', 'file.slnf'],
\ 'json5': ['file.json5'],
\ 'jsonc': ['file.jsonc'],
- \ 'jsonnet': ['file.jsonnet', 'file.libjsonnet'],
+ \ 'jsonnet': ['file.jsonnet', 'file.libsonnet'],
\ 'jsp': ['file.jsp'],
\ 'julia': ['file.jl'],
\ 'kconfig': ['Kconfig', 'Kconfig.debug', 'Kconfig.file'],