forked from aniani/vim
patch 9.0.1103: jq files are not recognized
Problem: jq files are not recognized. Solution: Add detection of Jq files. (David McDonald, closes #11743)
This commit is contained in:
committed by
Bram Moolenaar
parent
a7fbaa43b7
commit
b9a1edfc54
@@ -996,6 +996,9 @@ au BufNewFile,BufRead *.jgr setf jgraph
|
||||
" Jovial
|
||||
au BufNewFile,BufRead *.jov,*.j73,*.jovial setf jovial
|
||||
|
||||
" Jq
|
||||
au BufNewFile,BufRead *.jq setf jq
|
||||
|
||||
" JSON5
|
||||
au BufNewFile,BufRead *.json5 setf json5
|
||||
|
||||
|
@@ -286,6 +286,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'],
|
||||
|
@@ -695,6 +695,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1103,
|
||||
/**/
|
||||
1102,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user