diff options
author | Christian Clason <c.clason@uni-graz.at> | 2025-01-03 10:42:52 +0100 |
---|---|---|
committer | Christian Clason <ch.clason+github@icloud.com> | 2025-01-03 11:45:10 +0100 |
commit | b365036ab3f5e91439a5397ed0f32b651d60f08c (patch) | |
tree | 8b00f405f7bb3eb457279432bef2edd4b49c4b81 | |
parent | f1f42ec063795f9461d9744d62eaaa6cc978ea56 (diff) | |
download | rneovim-b365036ab3f5e91439a5397ed0f32b651d60f08c.tar.gz rneovim-b365036ab3f5e91439a5397ed0f32b651d60f08c.tar.bz2 rneovim-b365036ab3f5e91439a5397ed0f32b651d60f08c.zip |
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
https://github.com/vim/vim/commit/58c44e8833365e1a777330491c2799ae324ed893
Co-authored-by: Gregory Anders <greg@gpanders.com>
-rw-r--r-- | runtime/ftplugin/jjdescription.vim (renamed from runtime/ftplugin/jj.vim) | 0 | ||||
-rw-r--r-- | runtime/lua/vim/filetype.lua | 2 | ||||
-rw-r--r-- | runtime/syntax/jjdescription.vim (renamed from runtime/syntax/jj.vim) | 2 | ||||
-rw-r--r-- | test/old/testdir/test_filetype.vim | 2 |
4 files changed, 3 insertions, 3 deletions
diff --git a/runtime/ftplugin/jj.vim b/runtime/ftplugin/jjdescription.vim index cc5d700a30..cc5d700a30 100644 --- a/runtime/ftplugin/jj.vim +++ b/runtime/ftplugin/jjdescription.vim diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index 173de8b5d5..849bc4af92 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -631,7 +631,7 @@ local extension = { clp = 'jess', jgr = 'jgraph', jinja = 'jinja', - jjdescription = 'jj', + jjdescription = 'jjdescription', j73 = 'jovial', jov = 'jovial', jovial = 'jovial', diff --git a/runtime/syntax/jj.vim b/runtime/syntax/jjdescription.vim index 0b2d29e878..04848bcb3b 100644 --- a/runtime/syntax/jj.vim +++ b/runtime/syntax/jjdescription.vim @@ -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' diff --git a/test/old/testdir/test_filetype.vim b/test/old/testdir/test_filetype.vim index 1bf2bdb360..d5853adf49 100644 --- a/test/old/testdir/test_filetype.vim +++ b/test/old/testdir/test_filetype.vim @@ -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'], |