little update on nvim lua tabs

This commit is contained in:
Tony Miller 2025-08-22 12:30:58 +10:00
parent 664c3518d2
commit 8f9ad13557

View File

@ -5,7 +5,7 @@ local function ensure_plugin(category, name, git_url, opts)
opts = opts or {} opts = opts or {}
local pack_path = os.getenv("HOME") .. "/.config/nvim/pack/" .. category .. "/" .. (opts.opt and "opt" or "start") local pack_path = os.getenv("HOME") .. "/.config/nvim/pack/" .. category .. "/" .. (opts.opt and "opt" or "start")
local plugin_path = pack_path .. "/" .. name local plugin_path = pack_path .. "/" .. name
-- Create pack directory if it doesn't exist -- Create pack directory if it doesn't exist
vim.fn.system("mkdir -p " .. pack_path) vim.fn.system("mkdir -p " .. pack_path)
@ -289,4 +289,4 @@ keys.set("n", "<C-k>", "<C-w>k", {desc = "Window up"})
keys.set("n", "<C-l>", "<C-w>l", {desc = "Window right"}) keys.set("n", "<C-l>", "<C-w>l", {desc = "Window right"})
-- Clear search highlighting -- Clear search highlighting
keys.set("n", "<Leader>nh", ":nohl<CR>", {desc = "Clear highlights"}) keys.set("n", "<Leader>nh", ":nohl<CR>", {desc = "Clear highlights"})