mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
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:
@@ -564,7 +564,7 @@ local extension = {
|
|||||||
json5 = 'json5',
|
json5 = 'json5',
|
||||||
jsonc = 'jsonc',
|
jsonc = 'jsonc',
|
||||||
jsonnet = 'jsonnet',
|
jsonnet = 'jsonnet',
|
||||||
libjsonnet = 'jsonnet',
|
libsonnet = 'jsonnet',
|
||||||
jsp = 'jsp',
|
jsp = 'jsp',
|
||||||
jl = 'julia',
|
jl = 'julia',
|
||||||
kv = 'kivy',
|
kv = 'kivy',
|
||||||
|
@@ -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'],
|
\ 'json': ['file.json', 'file.jsonp', 'file.json-patch', 'file.webmanifest', 'Pipfile.lock', 'file.ipynb', '.babelrc', '.eslintrc', '.prettierrc', '.firebaserc', 'file.slnf'],
|
||||||
\ 'json5': ['file.json5'],
|
\ 'json5': ['file.json5'],
|
||||||
\ 'jsonc': ['file.jsonc'],
|
\ 'jsonc': ['file.jsonc'],
|
||||||
\ 'jsonnet': ['file.jsonnet', 'file.libjsonnet'],
|
\ 'jsonnet': ['file.jsonnet', 'file.libsonnet'],
|
||||||
\ 'jsp': ['file.jsp'],
|
\ 'jsp': ['file.jsp'],
|
||||||
\ 'julia': ['file.jl'],
|
\ 'julia': ['file.jl'],
|
||||||
\ 'kconfig': ['Kconfig', 'Kconfig.debug', 'Kconfig.file'],
|
\ 'kconfig': ['Kconfig', 'Kconfig.debug', 'Kconfig.file'],
|
||||||
|
Reference in New Issue
Block a user