vim-patch:9.1.0986: filetype: 'jj' filetype is a bit imprecise

Problem:  filetype: 'jj' filetype is a bit imprecise
Solution: rename 'jj' filetype to 'jjdescription'
          (Gregory Anders)

closes: vim/vim#16364

58c44e8833

Co-authored-by: Gregory Anders <greg@gpanders.com>
This commit is contained in:
Christian Clason
2025-01-03 10:42:52 +01:00
committed by Christian Clason
parent f1f42ec063
commit b365036ab3
4 changed files with 3 additions and 3 deletions

View File

@ -631,7 +631,7 @@ local extension = {
clp = 'jess',
jgr = 'jgraph',
jinja = 'jinja',
jjdescription = 'jj',
jjdescription = 'jjdescription',
j73 = 'jovial',
jov = 'jovial',
jovial = 'jovial',

View File

@ -21,4 +21,4 @@ hi def link jjAdded Added
hi def link jjRemoved Removed
hi def link jjChanged Changed
let b:current_syntax = 'jj'
let b:current_syntax = 'jjdescription'

View File

@ -389,7 +389,7 @@ func s:GetFilenameChecks() abort
\ 'jess': ['file.clp'],
\ 'jgraph': ['file.jgr'],
\ 'jinja': ['file.jinja'],
\ 'jj': ['file.jjdescription'],
\ 'jjdescription': ['file.jjdescription'],
\ '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'],
\ 'jq': ['file.jq'],