update things

This commit is contained in:
zack 2024-09-27 12:09:26 -04:00
parent 5ac7c053fd
commit 6eb61c0194
No known key found for this signature in database
GPG key ID: 5F873416BCF59F35
9 changed files with 72 additions and 25 deletions

View file

@ -1,5 +1,5 @@
return {
"nvim-treesitter/nvim-treesitter-context",
event = "BufEnter",
opts = { enable = true },
opts = { enable = true, max_lines = 3 },
}

View file

@ -0,0 +1,35 @@
return {
"oysandvik94/curl.nvim",
cmd = { "CurlOpen" },
dependencies = {
"nvim-lua/plenary.nvim",
},
keys = {
{ "<leader>co", "<cmd>CurlOpen<cr>", desc = "Open Curl" },
},
config = function()
local curl = require("curl")
curl.setup({})
vim.keymap.set("n", "<leader>co", function()
curl.open_global_tab()
end, { desc = "Open a curl tab with gloabl scope" })
-- These commands will prompt you for a name for your collection
vim.keymap.set("n", "<leader>csc", function()
curl.create_scoped_collection()
end, { desc = "Create or open a collection with a name from user input" })
vim.keymap.set("n", "<leader>cgc", function()
curl.create_global_collection()
end, { desc = "Create or open a global collection with a name from user input" })
vim.keymap.set("n", "<leader>fsc", function()
curl.pick_scoped_collection()
end, { desc = "Choose a scoped collection and open it" })
vim.keymap.set("n", "<leader>fgc", function()
curl.pick_global_collection()
end, { desc = "Choose a global collection and open it" })
end,
}

View file

@ -5,7 +5,7 @@ return {
vim.cmd.colorscheme("catppuccin-macchiato")
end,
opts = {
transparent_background = true,
transparent_background = false,
custom_highlights = function(C)
return {
Pmenu = { bg = C.base },

View file

@ -56,6 +56,9 @@ in {
clang
pkgs-unstable.bash-language-server
curl
jq
# Tools
git
html-tidy