Skip to content

Commit

Permalink
feat: add xml type for response formatting and highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier Ugarte committed Jul 9, 2024
1 parent 64ae7d5 commit 67f583b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/hurl/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ end

util.is_xml_response = function(content_type)
return string.find(content_type, 'text/xml') ~= nil
or string.find(content_type, 'application/xml') ~= nil
end

--- Check if nvim is running in nightly or stable version
Expand Down

0 comments on commit 67f583b

Please sign in to comment.