mirror of
https://github.com/zoriya/vim.git
synced 2026-06-05 21:00:21 +00:00
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: #15762
Signed-off-by: Riley Bruins <ribru17@hotmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
0fb25515cc
commit
de6c1d1182
@@ -1065,6 +1065,9 @@ au BufNewFile,BufRead init.trans,*/etc/translate-shell,.trans setf clojure
|
||||
au BufNewFile,BufRead *.html,*.htm,*.shtml,*.stm call dist#ft#FThtml()
|
||||
au BufNewFile,BufRead *.cshtml setf html
|
||||
|
||||
" HTTP request files
|
||||
au BufNewFile,BufRead *.http setf http
|
||||
|
||||
" HTML with Ruby - eRuby
|
||||
au BufNewFile,BufRead *.erb,*.rhtml setf eruby
|
||||
|
||||
|
||||
Reference in New Issue
Block a user