nvim: get more plugin stuff working
This commit is contained in:
parent
ad42c1751d
commit
0b3ff15688
6 changed files with 101 additions and 123 deletions
|
@ -1,3 +1,11 @@
|
||||||
-- Autocmds are automatically loaded on the VeryLazy event
|
-- 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
|
-- Default autocmds that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua
|
||||||
-- Add any additional autocmds here
|
-- 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,
|
||||||
|
})
|
||||||
|
|
3
nvim/lua/config/colors.lua
Normal file
3
nvim/lua/config/colors.lua
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
vim.api.nvim_set_hl(0, "SnacksPicker", { bg = "NONE" })
|
||||||
|
|
||||||
|
SPLAT
|
|
@ -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,
|
|
||||||
}
|
|
|
@ -1,4 +1,4 @@
|
||||||
{
|
return {
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
version = false, -- last release is way too old and doesn't work on Windows
|
version = false, -- last release is way too old and doesn't work on Windows
|
||||||
build = ":TSUpdate",
|
build = ":TSUpdate",
|
||||||
|
@ -65,7 +65,11 @@
|
||||||
enable = true,
|
enable = true,
|
||||||
goto_next_start = { ["]f"] = "@function.outer", ["]c"] = "@class.outer", ["]a"] = "@parameter.inner" },
|
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_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" },
|
goto_previous_end = { ["[F"] = "@function.outer", ["[C"] = "@class.outer", ["[A"] = "@parameter.inner" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue