mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:9.0.1103: jq files are not recognized (#21545)
Problem: jq files are not recognized.
Solution: Add detection of Jq files. (David McDonald, closes vim/vim#11743)
b9a1edfc54
Co-authored-by: David McDonald <dgmcdona@uno.edu>
This commit is contained in:
parent
738427d498
commit
fe5665be3b
@ -557,6 +557,7 @@ local extension = {
|
||||
jov = 'jovial',
|
||||
jovial = 'jovial',
|
||||
properties = 'jproperties',
|
||||
jq = 'jq',
|
||||
slnf = 'json',
|
||||
json = 'json',
|
||||
jsonp = 'json',
|
||||
|
@ -288,6 +288,7 @@ let s:filename_checks = {
|
||||
\ 'javascriptreact': ['file.jsx'],
|
||||
\ 'jess': ['file.clp'],
|
||||
\ 'jgraph': ['file.jgr'],
|
||||
\ 'jq': ['file.jq'],
|
||||
\ 'jovial': ['file.jov', 'file.j73', 'file.jovial'],
|
||||
\ 'jproperties': ['file.properties', 'file.properties_xx', 'file.properties_xx_xx', 'some.properties_xx_xx_file', 'org.eclipse.xyz.prefs'],
|
||||
\ 'json': ['file.json', 'file.jsonp', 'file.json-patch', 'file.webmanifest', 'Pipfile.lock', 'file.ipynb', '.prettierrc', '.firebaserc', 'file.slnf'],
|
||||
|
Loading…
Reference in New Issue
Block a user