Erland

Results 8 comments of Erland

> why use that json library instead of the built-in `vim.json` that is included in Neovim 0.6 onwards? Because I didn't know it existed o.O I'll check `vim.json` and refactor...

The linter doesn't like global lua variables, so I replaced it with neovim's global variables 😅, maybe there is a better way to initialize the variable? I just initialized it...

@NTBBloodbath is there something else needed to merge this?

there is still a bug in there, ```No such variable: "b:current_syntax"``` This only happens from the second request onwards. and it happens here: ```lua local syntax_file = vim.fn.expand(string.format("$VIMRUNTIME/syntax/%s.vim", content_type)) if...

Done, haha I thought it was already synced

Welp, this is an issue https://github.com/rest-nvim/rest.nvim/pull/100#issuecomment-1236536551 however I'm thinking this is not due to this PR, probably has to do with the way the plugin parses the variable names (I'm...

Now it is possible to deconstruct arrays with this syntax: `{{response.array.0.prop}}` I'm a little bit torn on the syntax as I think using '[0]' would have been best, but '.0'...

'req_var_store' is the variable in which I store the JSON variables e.g: ``` #@response GET https://reqres.in/api/users?page=2 ``` When executing this, the response is loaded in req_var_store like so: ``` req_var_store...