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

de6c1d1182

Co-authored-by: Riley Bruins <ribru17@hotmail.com>
This commit is contained in:
Christian Clason
2024-10-01 07:04:13 +02:00
parent e0efbc6e03
commit ea9d61b80d
3 changed files with 15 additions and 0 deletions

View File

@@ -578,6 +578,7 @@ local extension = {
stm = detect.html,
htt = 'httest',
htb = 'httest',
http = 'http',
hurl = 'hurl',
hw = detect.hw,
module = detect.hw,