mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
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:
committed by
Christian Clason
parent
f1f42ec063
commit
b365036ab3
@ -631,7 +631,7 @@ local extension = {
|
|||||||
clp = 'jess',
|
clp = 'jess',
|
||||||
jgr = 'jgraph',
|
jgr = 'jgraph',
|
||||||
jinja = 'jinja',
|
jinja = 'jinja',
|
||||||
jjdescription = 'jj',
|
jjdescription = 'jjdescription',
|
||||||
j73 = 'jovial',
|
j73 = 'jovial',
|
||||||
jov = 'jovial',
|
jov = 'jovial',
|
||||||
jovial = 'jovial',
|
jovial = 'jovial',
|
||||||
|
@ -21,4 +21,4 @@ hi def link jjAdded Added
|
|||||||
hi def link jjRemoved Removed
|
hi def link jjRemoved Removed
|
||||||
hi def link jjChanged Changed
|
hi def link jjChanged Changed
|
||||||
|
|
||||||
let b:current_syntax = 'jj'
|
let b:current_syntax = 'jjdescription'
|
@ -389,7 +389,7 @@ func s:GetFilenameChecks() abort
|
|||||||
\ 'jess': ['file.clp'],
|
\ 'jess': ['file.clp'],
|
||||||
\ 'jgraph': ['file.jgr'],
|
\ 'jgraph': ['file.jgr'],
|
||||||
\ 'jinja': ['file.jinja'],
|
\ 'jinja': ['file.jinja'],
|
||||||
\ 'jj': ['file.jjdescription'],
|
\ 'jjdescription': ['file.jjdescription'],
|
||||||
\ 'jovial': ['file.jov', 'file.j73', 'file.jovial'],
|
\ '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'],
|
\ 'jproperties': ['file.properties', 'file.properties_xx', 'file.properties_xx_xx', 'some.properties_xx_xx_file', 'org.eclipse.xyz.prefs'],
|
||||||
\ 'jq': ['file.jq'],
|
\ 'jq': ['file.jq'],
|
||||||
|
Reference in New Issue
Block a user