Major Update

This commit is contained in:
Eli Fouts
2024-12-26 23:51:33 -05:00
parent 926cba48a6
commit f82ed377d5
61 changed files with 5960 additions and 138 deletions
+25
View File
@@ -0,0 +1,25 @@
return {
"goolord/alpha-nvim",
dependencies = {
"nvim-tree/nvim-web-devicons",
},
config = function()
local alpha = require("alpha")
local dashboard = require("alpha.themes.startify")
dashboard.section.header.val = {
[[ ██████████ █████████  ]],
[[ ████████████ ████████████████ █ ██ ]],
[[ ██ ███ █████ ██ ]],
[[ ██████████ ██████████ ████████ ███ ███████████ ]],
[[ ██████████ ██████████ ████████ █████ ██████████████ ]],
[[ ██ ██ ███████ █████ █████ ████ █████ ]],
[[ ██████████ ██ ██████ █████ █████ ████ █████ ]],
[[ ████████████ ██ ███ ████ █████ █████ ████ ██████ ]],
}
alpha.setup(dashboard.opts)
end,
}
+32
View File
@@ -0,0 +1,32 @@
return {
"sainnhe/everforest",
lazy = false,
name = "everforest",
priority = 997,
config = function()
vim.cmd.colorscheme("everforest")
-- Remove background for general UI elements
vim.cmd("highlight Normal ctermbg=NONE guibg=NONE")
vim.cmd("highlight NonText ctermbg=NONE guibg=NONE")
vim.cmd("highlight NormalNC ctermbg=NONE guibg=NONE")
vim.cmd("highlight LineNr ctermbg=NONE guibg=NONE") -- Remove background for line numbers
vim.cmd("highlight CursorLineNr ctermbg=NONE guibg=NONE") -- Cursor line number
vim.cmd("highlight SignColumn ctermbg=NONE guibg=NONE") -- Remove background for sign column
vim.cmd("highlight EndOfBuffer ctermbg=NONE guibg=NONE") -- Remove background for ~ at end of file
vim.cmd("highlight FoldColumn ctermbg=NONE guibg=NONE") -- Remove background for fold column
vim.cmd("highlight VertSplit ctermbg=NONE guibg=NONE") -- Remove background for vertical splits
-- Syntax groups
vim.cmd("highlight String ctermbg=NONE guibg=NONE")
vim.cmd("highlight Comment ctermbg=NONE guibg=NONE")
vim.cmd("highlight Number ctermbg=NONE guibg=NONE")
vim.cmd("highlight Keyword ctermbg=NONE guibg=NONE")
vim.cmd("highlight Function ctermbg=NONE guibg=NONE")
vim.cmd("highlight Statement ctermbg=NONE guibg=NONE")
vim.cmd("highlight Type ctermbg=NONE guibg=NONE")
vim.cmd("highlight Identifier ctermbg=NONE guibg=NONE")
vim.cmd("highlight PreProc ctermbg=NONE guibg=NONE")
end,
}
+44
View File
@@ -0,0 +1,44 @@
return {
{
"hrsh7th/cmp-nvim-lsp"
},
{
"L3MON4D3/LuaSnip",
dependencies = {
"saadparwaiz1/cmp_luasnip",
"rafamadriz/friendly-snippets",
},
},
{
"hrsh7th/nvim-cmp",
config = function()
local cmp = require("cmp")
require("luasnip.loaders.from_vscode").lazy_load()
cmp.setup({
snippet = {
expand = function(args)
require("luasnip").lsp_expand(args.body)
end,
},
window = {
completion = cmp.config.window.bordered(),
documentation = cmp.config.window.bordered(),
},
mapping = cmp.mapping.preset.insert({
["<C-b>"] = cmp.mapping.scroll_docs(-4),
["<C-f>"] = cmp.mapping.scroll_docs(4),
["<C-Space>"] = cmp.mapping.complete(),
["<C-e>"] = cmp.mapping.abort(),
["<CR>"] = cmp.mapping.confirm({ select = true }),
}),
sources = cmp.config.sources({
{ name = "nvim_lsp" },
{ name = "luasnip" }, -- For luasnip users.
}, {
{ name = "buffer" },
}),
})
end,
},
}
+49
View File
@@ -0,0 +1,49 @@
return {
"nvim-lualine/lualine.nvim",
dependencies = { "nvim-tree/nvim-web-devicons" },
config = function()
require('lualine').setup {
options = {
icons_enabled = true,
theme = 'auto',
component_separators = '',
section_separators = { left = '', right = '' },
disabled_filetypes = {
statusline = {},
winbar = {},
},
ignore_focus = {},
always_divide_middle = true,
always_show_tabline = true,
globalstatus = false,
refresh = {
statusline = 100,
tabline = 100,
winbar = 100,
}
},
sections = {
lualine_a = {'mode'},
lualine_b = {'branch', 'diff', 'diagnostics'},
lualine_c = {'filepath','filename'},
lualine_x = {'filetype'},
lualine_y = {'progress'},
lualine_z = {'location'}
},
inactive_sections = {
lualine_a = {},
lualine_b = {},
lualine_c = {'filename'},
lualine_x = {},
lualine_y = {},
lualine_z = {}
},
tabline = {},
winbar = {},
inactive_winbar = {},
extensions = {}
} end,
}
+12
View File
@@ -0,0 +1,12 @@
return {
"nvim-neo-tree/neo-tree.nvim",
branch = "v3.x",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons",
"MunifTanjim/nui.nvim",
},
config = function()
vim.keymap.set("n", "<C-n>", ":Neotree filesystem reveal left<CR>")
end,
}
+25
View File
@@ -0,0 +1,25 @@
return {
{
"nvim-telescope/telescope.nvim",
tag = "0.1.8",
dependencies = { "nvim-lua/plenary.nvim" },
config = function()
local builtin = require("telescope.builtin")
vim.keymap.set("n", "<C-p>", builtin.find_files, {})
vim.keymap.set("n", "<A-f>", builtin.live_grep, {})
end,
},
{
"nvim-telescope/telescope-ui-select.nvim",
config = function()
require("telescope").setup({
extensions = {
["ui-select"] = {
require("telescope.themes").get_dropdown({}),
},
},
})
require("telescope").load_extension("ui-select")
end,
},
}
+12
View File
@@ -0,0 +1,12 @@
return {
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function()
local config = require("nvim-treesitter.configs")
config.setup({
auto_install = true,
highlight = { enable = true },
indent = { enable = true },
})
end,
}
+5
View File
@@ -0,0 +1,5 @@
vim.cmd("set expandtab")
vim.cmd("set tabstop=4")
vim.cmd("set softtabstop=4")
vim.cmd("set shiftwidth=4")
vim.g.mapleader = " "