patch 8.2.3283: Julia filetype is not recognized
Problem: Julia filetype is not recognized
Solution: Add filetype detection. (Christian Clason, closes #8700)
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 13f8e94..e14d80f 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -874,6 +874,9 @@
" JSONC
au BufNewFile,BufRead *.jsonc setf jsonc
+" Julia
+au BufNewFile,BufRead *.jl setf julia
+
" Kixtart
au BufNewFile,BufRead *.kix setf kix
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index e78a1f4..4f94b96 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -263,6 +263,7 @@
\ '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,6 +779,7 @@
split Xfile.pp
call assert_equal('pascal', &filetype)
bwipe!
+ unlet g:filetype_pp
" Test dist#ft#FTpp()
call writefile(['{ pascal comment'], 'Xfile.pp')
diff --git a/src/version.c b/src/version.c
index 1cddd15..35bb391 100644
--- a/src/version.c
+++ b/src/version.c
@@ -756,6 +756,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 3283,
+/**/
3282,
/**/
3281,