nvim: get more plugin stuff working

This commit is contained in:
Kate 2025-05-22 21:31:22 +02:00
parent ad42c1751d
commit 0b3ff15688
6 changed files with 101 additions and 123 deletions

View file

@ -1,3 +1,11 @@
-- Autocmds are automatically loaded on the VeryLazy event
-- Default autocmds that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua
-- Add any additional autocmds here
vim.api.nvim_create_autocmd("ColorScheme", {
pattern = "*",
callback = function()
vim.api.nvim_set_hl(0, "SnacksPicker", { bg = "none", nocombine = true })
vim.api.nvim_set_hl(0, "SnacksPickerBorder", { fg = "#316c71", bg = "none", nocombine = true })
end,
})

View file

@ -0,0 +1,3 @@
vim.api.nvim_set_hl(0, "SnacksPicker", { bg = "NONE" })
SPLAT

View file

@ -1,37 +0,0 @@
return {
"nvimdev/dashboard-nvim",
opts = function()
local logo = [[
]]
logo = "\n\n" .. logo
return {
change_to_vcs_root = true,
config = {
header = vim.split(logo, "\n"),
footer = {
"",
"You are accessing a Tactile Metrology LLC information system, which includes: ",
"(1) this computer, (2) this computer network, (3) all computers connected to this ",
"network, and (4) all devices and storage media attached to this network or to a ",
"computer on this network. ",
"",
"This information system is provided so that you may be gay, and do crime. ",
"",
"Unauthorized or improper use of this system had better be pretty frickin' awesome.",
},
shortcut = {
{ desc = "[ deprekated]", group = "DashboardShortCut" },
{ desc = "[ Kate Adkins]", group = "DashboardShortCut" },
{ desc = "[󱄅 powered by Lix]", group = "DashboardShortCut" },
},
},
}
end,
}

View file

@ -1,4 +1,4 @@
{
return {
"nvim-treesitter/nvim-treesitter",
version = false, -- last release is way too old and doesn't work on Windows
build = ":TSUpdate",
@ -65,7 +65,11 @@
enable = true,
goto_next_start = { ["]f"] = "@function.outer", ["]c"] = "@class.outer", ["]a"] = "@parameter.inner" },
goto_next_end = { ["]F"] = "@function.outer", ["]C"] = "@class.outer", ["]A"] = "@parameter.inner" },
goto_previous_start = { ["[f"] = "@function.outer", ["[c"] = "@class.outer", ["[a"] = "@parameter.inner" },
goto_previous_start = {
["[f"] = "@function.outer",
["[c"] = "@class.outer",
["[a"] = "@parameter.inner",
},
goto_previous_end = { ["[F"] = "@function.outer", ["[C"] = "@class.outer", ["[A"] = "@parameter.inner" },
},
},