mirror of
https://github.com/neovim/neovim.git
synced 2026-07-22 00:51:33 +00: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:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user