Replies: 2 comments
-
Reading the message carefully and doing some digging around, the issue with the filetype. I set the filetype
And it started to work. Now I need to figure out how to automatically detect filetype |
Beta Was this translation helpful? Give feedback.
0 replies
-
If you are using return {
"rest-nvim/rest.nvim",
ft = "http",
} |
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
-
Hi,
I am new to nvim and currently using lazyvim
GET https://reqres.in/api/users?page=5
Placed cursor on the get line and sent the request
I get the following error
E5108: Error executing lua ...nvimRMnCG5/usr/share/nvim/runtime/lua/vim/treesitter.lua:121: There is no parser available for buffer 3 and one could not be created because lang could not be determined. Either pass lang or set the buffer filetype
stack traceback:
[C]: in function 'error'
...nvimRMnCG5/usr/share/nvim/runtime/lua/vim/treesitter.lua:121: in function 'get_parser'
...l/share/nvim/lazy/rest.nvim/lua/rest-nvim/utils/init.lua:218: in function 'read_document_variables'
...l/share/nvim/lazy/rest.nvim/lua/rest-nvim/utils/init.lua:250: in function 'read_variables'
...l/share/nvim/lazy/rest.nvim/lua/rest-nvim/utils/init.lua:260: in function 'replace_vars'
...share/nvim/lazy/rest.nvim/lua/rest-nvim/request/init.lua:249: in function 'parse_url'
...share/nvim/lazy/rest.nvim/lua/rest-nvim/request/init.lua:282: in function 'get_current_request'
.../.local/share/nvim/lazy/rest.nvim/lua/rest-nvim/init.lua:25: in function 'run'
[string ":lua"]:1: in main chunk
What could be the problem?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions