Requirements
List of requirements for using kulala.
Neovim
- Neovim 0.10.0+
Syntax Highlighting
cURL
- cURL (tested with 8.5.0)
gRPCurl
- gRPCurl for GRPC requests
Websocat
- Websocat for WebSocket requests
OpenSSL
- Required for JWT and PKCE signing (comes preinstalled with macOS and most Linux distributions and is part of git installation on Windows)
jq
- jq (tested with 1.7)
(Only required for formatted JSON responses)
prettier
(Only required for formatting GraphQL)
xmllint
- xmllint (tested with libxml v20914)
(Only required for formatted XML/HTML responses and resolving XML request variables)
Optional Requirements
To make things a lot easier, you can put this lua snippet somewhere in your configuration:
vim.filetype.add({
extension = {
['http'] = 'http',
},
})
This will make Neovim recognize files with the .http
extension as HTTP files.
Kulala.nvim comes with a parser compiled with the latest version of treesitter.
If you have Neovim 0.10.x
, you might get an error ABI version mismatch for kulala_http.so: supported between 13 and 14, found 15
.
You need to install tree-sitter CLI
and recompile the parser:
- Delete the existing parser at
nvim-treesitter/parser/kulala_http
- Install the
tree-sitter CLI
(if not installed already):- from distribution repositories
- or from https://github.com/tree-sitter/tree-sitter/tree/master/crates/cli
- Recompile the parser:
- Open a
http
file in Neovim (this will load Kulala) - Run
:TSInstallFromGrammar kulala_http
- Open a