mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
ea9d61b80d
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>
14 lines
258 B
VimL
14 lines
258 B
VimL
" Vim filetype plugin
|
|
" Language: HTTP
|
|
" Maintainer: Riley Bruins <ribru17@gmail.com>
|
|
" Last Change: 2024 Sep 28
|
|
|
|
if exists('b:did_ftplugin')
|
|
finish
|
|
endif
|
|
let b:did_ftplugin = 1
|
|
|
|
setl comments=:# commentstring=#\ %s
|
|
|
|
let b:undo_ftplugin = 'setl com< cms<'
|