aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-10-01 07:04:13 +0200
committerChristian Clason <c.clason@uni-graz.at>2024-10-01 07:33:08 +0200
commitea9d61b80df3673f5cbd93ce67201f04ddbee961 (patch)
treee03bd59fa768de5fc606e64515a523599320bb93 /test
parente0efbc6e03f1d64e49805bb9be7d41ff9a27569f (diff)
downloadrneovim-ea9d61b80df3673f5cbd93ce67201f04ddbee961.tar.gz
rneovim-ea9d61b80df3673f5cbd93ce67201f04ddbee961.tar.bz2
rneovim-ea9d61b80df3673f5cbd93ce67201f04ddbee961.zip
vim-patch:9.1.0749: filetype: http files not recognized
Problem: filetype: http files not recognized Solution: detect '*.http' as http filetype, include http filetype plugin (Riley Bruins) Based on the specification found [here](https://github.com/JetBrains/http-request-in-editor-spec/blob/master/spec.md) closes: vim/vim#15762 https://github.com/vim/vim/commit/de6c1d1182076b10212342fd2d441267fbe43a22 Co-authored-by: Riley Bruins <ribru17@hotmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/old/testdir/test_filetype.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/old/testdir/test_filetype.vim b/test/old/testdir/test_filetype.vim
index 7480b15bed..d99656be47 100644
--- a/test/old/testdir/test_filetype.vim
+++ b/test/old/testdir/test_filetype.vim
@@ -340,6 +340,7 @@ func s:GetFilenameChecks() abort
\ 'hostconf': ['/etc/host.conf', 'any/etc/host.conf'],
\ 'hostsaccess': ['/etc/hosts.allow', '/etc/hosts.deny', 'any/etc/hosts.allow', 'any/etc/hosts.deny'],
\ 'html': ['file.html', 'file.htm', 'file.cshtml', 'file.component.html'],
+ \ 'http': ['file.http'],
\ 'htmlm4': ['file.html.m4'],
\ 'httest': ['file.htt', 'file.htb'],
\ 'hurl': ['file.hurl'],