Skip to content

Commit 85a22b9

Browse files
docs: update readme
1 parent 9584c42 commit 85a22b9

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# rest.nvim
44

55
![License](https://img.shields.io/github/license/NTBBloodbath/rest.nvim?style=for-the-badge)
6-
![Neovim version](https://img.shields.io/badge/Neovim%200.10+-brightgreen?style=for-the-badge)
7-
[![LuaRocks](https://img.shields.io/luarocks/v/teto/rest.nvim?style=for-the-badge&logo=lua&color=blue)](https://luarocks.org/modules/teto/rest.nvim)
6+
![Neovim version](https://img.shields.io/badge/Neovim%200.10.1+-brightgreen?style=for-the-badge)
7+
[![LuaRocks](https://img.shields.io/luarocks/v/NTBBloodbath/rest.nvim?style=for-the-badge&logo=lua&color=blue)](https://luarocks.org/modules/NTBBloodbath/rest.nvim)
88

99
[Features](#features)[Install](#install)[Usage](#usage)[Contribute](#contribute)
1010

lua/rest-nvim/parser/init.lua

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ function parser.parse(node, source, ctx)
363363
assert(req_node)
364364

365365
ctx = ctx or Context:new()
366-
-- TODO: note that in-place variables won't be evaluated due to treesitter limitations
366+
-- TODO: note that in-place variables won't be evaluated for raw string due to treesitter limitations
367367
-- when source is given as raw string
368368
if type(source) == "number" then
369369
local start_row = node:range()
@@ -374,8 +374,7 @@ function parser.parse(node, source, ctx)
374374
logger.info("no method provided, falling back to 'GET'")
375375
method = "GET"
376376
end
377-
-- NOTE: url will be parsed after because in-place variables should be parsed
378-
-- first
377+
-- NOTE: url will be parsed after because in-place variables should be parsed first
379378
local url
380379

381380
---@type string|nil

0 commit comments

Comments
 (0)