comparison src/testdir/test_filetype.vim @ 25493:224c96c497d3 v8.2.3283

patch 8.2.3283: Julia filetype is not recognized Commit: https://github.com/vim/vim/commit/0eec8519424eaea7baebfda979c33dd609a4e3fa Author: Christian Clason <christian.clason@uni-due.de> Date: Wed Aug 4 17:03:59 2021 +0200 patch 8.2.3283: Julia filetype is not recognized Problem: Julia filetype is not recognized Solution: Add filetype detection. (Christian Clason, closes https://github.com/vim/vim/issues/8700)
author Bram Moolenaar <Bram@vim.org>
date Wed, 04 Aug 2021 17:15:04 +0200
parents d5f856033f6b
children 2246bcbeff89
comparison
equal deleted inserted replaced
25492:fe6fc460a6fc 25493:224c96c497d3
261 \ 'jovial': ['file.jov', 'file.j73', 'file.jovial'], 261 \ 'jovial': ['file.jov', 'file.j73', 'file.jovial'],
262 \ 'jproperties': ['file.properties', 'file.properties_xx', 'file.properties_xx_xx', 'some.properties_xx_xx_file'], 262 \ 'jproperties': ['file.properties', 'file.properties_xx', 'file.properties_xx_xx', 'some.properties_xx_xx_file'],
263 \ 'json': ['file.json', 'file.jsonp', 'file.json-patch', 'file.webmanifest', 'Pipfile.lock', 'file.ipynb'], 263 \ 'json': ['file.json', 'file.jsonp', 'file.json-patch', 'file.webmanifest', 'Pipfile.lock', 'file.ipynb'],
264 \ 'jsonc': ['file.jsonc'], 264 \ 'jsonc': ['file.jsonc'],
265 \ 'jsp': ['file.jsp'], 265 \ 'jsp': ['file.jsp'],
266 \ 'julia': ['file.jl'],
266 \ 'kconfig': ['Kconfig', 'Kconfig.debug', 'Kconfig.file'], 267 \ 'kconfig': ['Kconfig', 'Kconfig.debug', 'Kconfig.file'],
267 \ 'kivy': ['file.kv'], 268 \ 'kivy': ['file.kv'],
268 \ 'kix': ['file.kix'], 269 \ 'kix': ['file.kix'],
269 \ 'kotlin': ['file.kt', 'file.ktm', 'file.kts'], 270 \ 'kotlin': ['file.kt', 'file.ktm', 'file.kts'],
270 \ 'kscript': ['file.ks'], 271 \ 'kscript': ['file.ks'],
776 777
777 let g:filetype_pp = 'pascal' 778 let g:filetype_pp = 'pascal'
778 split Xfile.pp 779 split Xfile.pp
779 call assert_equal('pascal', &filetype) 780 call assert_equal('pascal', &filetype)
780 bwipe! 781 bwipe!
782 unlet g:filetype_pp
781 783
782 " Test dist#ft#FTpp() 784 " Test dist#ft#FTpp()
783 call writefile(['{ pascal comment'], 'Xfile.pp') 785 call writefile(['{ pascal comment'], 'Xfile.pp')
784 split Xfile.pp 786 split Xfile.pp
785 call assert_equal('pascal', &filetype) 787 call assert_equal('pascal', &filetype)