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)
6c8bc37a10
This commit is contained in:
Christian Clason
2022-10-20 22:49:22 +02:00
committed by GitHub
parent ba887da977
commit 45ae5c6dc5
2 changed files with 2 additions and 2 deletions

View File

@@ -564,7 +564,7 @@ local extension = {
json5 = 'json5',
jsonc = 'jsonc',
jsonnet = 'jsonnet',
libjsonnet = 'jsonnet',
libsonnet = 'jsonnet',
jsp = 'jsp',
jl = 'julia',
kv = 'kivy',

View File

@@ -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'],