2024-01-21 15:34:18 +01:00
|
|
|
{
|
|
|
|
empty = {
|
2024-09-09 17:08:12 -05:00
|
|
|
plugins = {
|
|
|
|
rest.enable = true;
|
|
|
|
treesitter.enable = true;
|
|
|
|
};
|
2024-01-21 15:34:18 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
defaults = {
|
2024-09-09 17:08:12 -05:00
|
|
|
plugins = {
|
|
|
|
treesitter.enable = true;
|
|
|
|
rest = {
|
|
|
|
enable = true;
|
2024-01-21 15:34:18 +01:00
|
|
|
|
2024-09-09 17:08:12 -05:00
|
|
|
settings = {
|
|
|
|
custom_dynamic_variables = { };
|
2024-09-10 22:25:11 -05:00
|
|
|
request = {
|
|
|
|
skip_ssl_verification = false;
|
|
|
|
hooks = {
|
|
|
|
encode_url = true;
|
|
|
|
user_agent.__raw = ''"rest.nvim v" .. require("rest-nvim.api").VERSION'';
|
|
|
|
set_content_type = true;
|
2024-04-07 14:07:31 +02:00
|
|
|
};
|
2024-09-10 22:25:11 -05:00
|
|
|
};
|
|
|
|
response = {
|
|
|
|
hooks = {
|
2024-09-09 17:08:12 -05:00
|
|
|
decode_url = true;
|
2024-09-10 22:25:11 -05:00
|
|
|
format = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
clients = {
|
|
|
|
curl = {
|
|
|
|
statistics = [
|
|
|
|
{
|
|
|
|
id = "time_total";
|
|
|
|
winbar = "take";
|
|
|
|
title = "Time taken";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id = "size_download";
|
|
|
|
winbar = "size";
|
|
|
|
title = "Download size";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
opts = {
|
|
|
|
set_compressed = false;
|
2024-09-09 17:08:12 -05:00
|
|
|
};
|
|
|
|
};
|
2024-09-10 22:25:11 -05:00
|
|
|
};
|
|
|
|
cookies = {
|
|
|
|
enable = true;
|
|
|
|
path.__raw = ''vim.fs.joinpath(vim.fn.stdpath("data") --[[@as string]], "rest-nvim.cookies")'';
|
|
|
|
};
|
|
|
|
env = {
|
|
|
|
enable = true;
|
|
|
|
pattern = ".*%.env.*";
|
|
|
|
};
|
|
|
|
ui = {
|
|
|
|
winbar = true;
|
2024-09-09 17:08:12 -05:00
|
|
|
keybinds = {
|
|
|
|
prev = "H";
|
|
|
|
next = "L";
|
2024-04-07 14:07:31 +02:00
|
|
|
};
|
|
|
|
};
|
2024-09-09 17:08:12 -05:00
|
|
|
highlight = {
|
|
|
|
enable = true;
|
|
|
|
timeout = 750;
|
2024-04-07 14:07:31 +02:00
|
|
|
};
|
2024-09-10 22:25:11 -05:00
|
|
|
_log_level.__raw = ''vim.log.levels.WARN'';
|
2024-04-07 14:07:31 +02:00
|
|
|
};
|
2024-01-21 15:34:18 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-09-10 23:00:57 -05:00
|
|
|
|
|
|
|
telescope = {
|
|
|
|
plugins = {
|
|
|
|
rest = {
|
|
|
|
enable = true;
|
|
|
|
enableTelescope = true;
|
|
|
|
};
|
|
|
|
treesitter.enable = true;
|
|
|
|
telescope.enable = true;
|
2024-09-20 13:37:35 -05:00
|
|
|
web-devicons.enable = true;
|
2024-09-10 23:00:57 -05:00
|
|
|
};
|
|
|
|
};
|
2024-01-21 15:34:18 +01:00
|
|
|
}
|