To: vim_dev@googlegroups.com Subject: Patch 8.2.3283 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.3283 Problem: Julia filetype is not recognized Solution: Add filetype detection. (Christian Clason, closes #8700) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-8.2.3282/runtime/filetype.vim 2021-07-03 13:51:40.525896631 +0200 --- runtime/filetype.vim 2021-08-04 16:59:56.783704699 +0200 *************** *** 874,879 **** --- 874,882 ---- " JSONC au BufNewFile,BufRead *.jsonc setf jsonc + " Julia + au BufNewFile,BufRead *.jl setf julia + " Kixtart au BufNewFile,BufRead *.kix setf kix *** ../vim-8.2.3282/src/testdir/test_filetype.vim 2021-07-03 13:51:40.525896631 +0200 --- src/testdir/test_filetype.vim 2021-08-04 17:00:41.343623129 +0200 *************** *** 263,268 **** --- 263,269 ---- \ 'json': ['file.json', 'file.jsonp', 'file.json-patch', 'file.webmanifest', 'Pipfile.lock', 'file.ipynb'], \ 'jsonc': ['file.jsonc'], \ 'jsp': ['file.jsp'], + \ 'julia': ['file.jl'], \ 'kconfig': ['Kconfig', 'Kconfig.debug', 'Kconfig.file'], \ 'kivy': ['file.kv'], \ 'kix': ['file.kix'], *************** *** 778,783 **** --- 779,785 ---- split Xfile.pp call assert_equal('pascal', &filetype) bwipe! + unlet g:filetype_pp " Test dist#ft#FTpp() call writefile(['{ pascal comment'], 'Xfile.pp') *** ../vim-8.2.3282/src/version.c 2021-08-04 16:09:19.973646545 +0200 --- src/version.c 2021-08-04 17:01:59.927476042 +0200 *************** *** 757,758 **** --- 757,760 ---- { /* Add new patch number below this line */ + /**/ + 3283, /**/ -- Proverb: A nightingale that forgets the lyrics is a hummingbird. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///