aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2021-08-08 23:49:24 +0200
committerChristian Clason <c.clason@uni-graz.at>2021-08-15 11:02:12 +0200
commit0dc4bec69e3b275d9667c6928f15b0e8a01bd0fa (patch)
treecce84dca1856cf524da96fff434932b9928854fe /src
parentd805eb3e0550ddbbcb7a59120ad93cd1bfad12f7 (diff)
downloadrneovim-0dc4bec69e3b275d9667c6928f15b0e8a01bd0fa.tar.gz
rneovim-0dc4bec69e3b275d9667c6928f15b0e8a01bd0fa.tar.bz2
rneovim-0dc4bec69e3b275d9667c6928f15b0e8a01bd0fa.zip
vim-patch:8.2.3283: Julia filetype is not recognized
Problem: Julia filetype is not recognized Solution: Add filetype detection. (Christian Clason, closes #8700) issue: vim/vim#7498 vim-patch: vim/vim@0eec851
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_filetype.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_filetype.vim b/src/nvim/testdir/test_filetype.vim
index 4ab58cd084..c155dbad50 100644
--- a/src/nvim/testdir/test_filetype.vim
+++ b/src/nvim/testdir/test_filetype.vim
@@ -263,6 +263,7 @@ let s:filename_checks = {
\ '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'],
@@ -754,6 +755,7 @@ func Test_pp_file()
split Xfile.pp
call assert_equal('pascal', &filetype)
bwipe!
+ unlet g:filetype_pp
" Test dist#ft#FTpp()
call writefile(['{ pascal comment'], 'Xfile.pp')