mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:9.0.1565: json lines files are not recognized (#23677)
Problem: Json lines files are not recognized.
Solution: Add a pattern to detect "jsonl" files. (issue vim/vim#7520)
6fadbc1e8c
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
parent
3ae62c4706
commit
201f366b37
@ -579,6 +579,7 @@ local extension = {
|
||||
['json-patch'] = 'json',
|
||||
json5 = 'json5',
|
||||
jsonc = 'jsonc',
|
||||
jsonl = 'jsonl',
|
||||
jsonnet = 'jsonnet',
|
||||
libsonnet = 'jsonnet',
|
||||
jsp = 'jsp',
|
||||
|
@ -305,6 +305,7 @@ let s:filename_checks = {
|
||||
\ 'json': ['file.json', 'file.jsonp', 'file.json-patch', 'file.webmanifest', 'Pipfile.lock', 'file.ipynb', '.prettierrc', '.firebaserc', '.stylelintrc', 'file.slnf'],
|
||||
\ 'json5': ['file.json5'],
|
||||
\ 'jsonc': ['file.jsonc', '.babelrc', '.eslintrc', '.jsfmtrc', '.jshintrc', '.hintrc', '.swrc', 'jsconfig.json', 'tsconfig.json', 'tsconfig.test.json', 'tsconfig-test.json'],
|
||||
\ 'jsonl': ['file.jsonl'],
|
||||
\ 'jsonnet': ['file.jsonnet', 'file.libsonnet'],
|
||||
\ 'jsp': ['file.jsp'],
|
||||
\ 'julia': ['file.jl'],
|
||||
|
Loading…
Reference in New Issue
Block a user