mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 9.0.0808: jsonnet filetype detection has a typo
Problem: jsonnet filetype detection has a typo. Solution: Change "libjsonnet" to "libsonnet". (Maxime Brunet, closes #11412)
This commit is contained in:
parent
d5337efece
commit
6c8bc37a10
@ -1004,7 +1004,7 @@ au BufNewFile,BufRead .babelrc,.eslintrc,.prettierrc,.firebaserc setf json
|
|||||||
au BufNewFile,BufRead *.jsonc setf jsonc
|
au BufNewFile,BufRead *.jsonc setf jsonc
|
||||||
|
|
||||||
" Jsonnet
|
" Jsonnet
|
||||||
au BufNewFile,BufRead *.jsonnet,*.libjsonnet setf jsonnet
|
au BufNewFile,BufRead *.jsonnet,*.libsonnet setf jsonnet
|
||||||
|
|
||||||
" Julia
|
" Julia
|
||||||
au BufNewFile,BufRead *.jl setf julia
|
au BufNewFile,BufRead *.jl setf julia
|
||||||
|
@ -289,7 +289,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'],
|
||||||
|
@ -695,6 +695,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
808,
|
||||||
/**/
|
/**/
|
||||||
807,
|
807,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user