diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/ftplugin/http.vim | 13 | ||||
-rw-r--r-- | runtime/lua/vim/filetype.lua | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/runtime/ftplugin/http.vim b/runtime/ftplugin/http.vim new file mode 100644 index 0000000000..ca5055011b --- /dev/null +++ b/runtime/ftplugin/http.vim @@ -0,0 +1,13 @@ +" 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<' diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index 035cb6f69f..e198d55160 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -578,6 +578,7 @@ local extension = { stm = detect.html, htt = 'httest', htb = 'httest', + http = 'http', hurl = 'hurl', hw = detect.hw, module = detect.hw, |