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 -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202108041602.174G2rP11070226%40masaka.moolenaar.net.