Skip to content

Commit da63cd3

Browse files
ahmtsenUzaaft
andauthored
feat(programming-language-support): add kulala.nvim (#1465)
* feat(programming-language-support): add kulala.nvim * Update lua/astrocommunity/programming-language-support/kulala-nvim/README.md * Update lua/astrocommunity/programming-language-support/kulala-nvim/README.md * Apply suggestions from code review * Update lua/astrocommunity/programming-language-support/kulala-nvim/README.md * Update lua/astrocommunity/programming-language-support/kulala-nvim/README.md --------- Co-authored-by: Uzair Aftab <48220549+Uzaaft@users.noreply.github.com>
1 parent febd884 commit da63cd3

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# kulala.nvim
2+
3+
A minimal 🤏 HTTP-client 🐼 interface 🖥️ for Neovim ❤️.
4+
5+
Dependencies:
6+
7+
- System-wide
8+
- curl
9+
For additional dependencies, see the docs.
10+
11+
**Repository:** : <https://github.com/mistweaverco/kulala.nvim>
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
local prefix = "<Leader>R"
2+
3+
return {
4+
"mistweaverco/kulala.nvim",
5+
ft = { "http", "rest" },
6+
dependencies = {
7+
{
8+
"nvim-treesitter/nvim-treesitter",
9+
opts = function(_, opts)
10+
if opts.ensure_installed ~= "all" then
11+
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { "http" })
12+
end
13+
end,
14+
},
15+
},
16+
specs = {
17+
{
18+
"AstroNvim/astroui",
19+
---@type AstroUIOpts
20+
opts = { icons = { KulalaNvim = "󱜿" } },
21+
},
22+
{
23+
"AstroNvim/astrocore",
24+
opts = function(_, opts)
25+
local maps = opts.mappings
26+
maps.n[prefix] = { desc = require("astroui").get_icon("KulalaNvim", 1, true) .. "KulalaNvim" }
27+
end,
28+
},
29+
},
30+
opts = {
31+
global_keymaps = true,
32+
},
33+
}

0 commit comments

Comments
 (0)