Idea: add Option to set filetype based on content-type #231
kevintraver
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
Another idea: have an option to split the results panel window, and have one buffer be the headers with type |
Beta Was this translation helpful? Give feedback.
1 reply
-
rest.nvim now use So you can use all tree-sitter features from response pane. (e.g. highlights, injections, folds) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Idea: Add an option to update the buffer filetype to match the content-type (instead of
httpResult
).This could be an opt-in feature (not default).
For example, if the response was
json
, the buffer filetype would be set tojson
. Could maybe also default tohtml
.This would be awesome for things like treesitter.
Beta Was this translation helpful? Give feedback.
All reactions