Initial Commit

This commit is contained in:
Falon Clark
2026-03-19 13:09:21 -04:00
commit a7f8df9e50
24 changed files with 537 additions and 0 deletions

25
lua/plugins/autopairs.lua Normal file
View File

@@ -0,0 +1,25 @@
return {
'windwp/nvim-autopairs',
event = "InsertEnter",
config = function()
require("nvim-autopairs").setup({
disable_in_macro = true, -- disable when recording or executing a macro
disable_in_visualblock = false, -- disable when insert after visual block mode
disable_in_replace_mode = true,
ignored_next_char = [=[[%w%%%'%[%"%.%`%$]]=],
enable_moveright = true,
enable_afterquote = true, -- add bracket pairs after quote
enable_check_bracket_line = true, --- check bracket in same line
enable_bracket_in_quote = true, --
enable_abbr = false, -- trigger abbreviation
break_undo = true, -- switch for basic rule break undo sequence
check_ts = false,
map_cr = true,
map_bs = true, -- map the <BS> key
map_c_h = false, -- Map the <C-h> key to delete a pair
map_c_w = false, -- map <c-w> to delete a pair if possible
})
end
-- use opts = {} for passing setup options
-- this is equivalent to setup({}) function
}

19
lua/plugins/barbar.lua Normal file
View File

@@ -0,0 +1,19 @@
return {
"romgrk/barbar.nvim",
dependencies = {
"lewis6991/gitsigns.nvim", -- OPTIONAL: for git status
"nvim-tree/nvim-web-devicons", -- OPTIONAL: for file icons
},
init = function()
vim.g.barbar_auto_setup = false
end,
opts = {
animation = false,
clickable = false,
sidebar_filetypes = {
NvimTree = true,
},
},
version = "^1.0.0", -- optional: only update when a new 1.x version is released
}

11
lua/plugins/chezmoi.lua Normal file
View File

@@ -0,0 +1,11 @@
return {
"xvzc/chezmoi.nvim",
dependencies = { "nvim-lua/plenary.nvim" },
config = function()
require("chezmoi").setup({
edit = {
watch = true,
}
})
end,
}

View File

@@ -0,0 +1,25 @@
return {
{
"catppuccin/nvim",
name = "catppuccin",
priority = 1000,
config = function()
require("catppuccin").setup({
flavor = "mocha",
float = {
transparent = true
}
})
end,
},
{
"ellisonleao/gruvbox.nvim",
priority = 1000,
config = function()
require("gruvbox").setup({
-- Gruvbox Configure
})
end
}
}

7
lua/plugins/comment.lua Normal file
View File

@@ -0,0 +1,7 @@
return {
'numToStr/Comment.nvim',
config = function()
require("Comment").setup({})
end,
}

View File

@@ -0,0 +1,36 @@
return {
"hrsh7th/nvim-cmp",
dependencies = {
"hrsh7th/cmp-nvim-lsp",
"saadparwaiz1/cmp_luasnip",
"L3MON4D3/LuaSnip",
"rafamadriz/friendly-snippets",
},
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-u>"] = cmp.mapping.scroll_docs(-4), -- Up
["<C-d>"] = cmp.mapping.scroll_docs(4), -- Down
["<C-Space>"] = cmp.mapping.complete(),
["<C-e>"] = cmp.mapping.abort(),
["<CR>"] = cmp.mapping.confirm({ select = true }),
}),
sources = cmp.config.sources({
{ name = "luasnip" },
{ name = "nvim_lsp" },
}),
})
end,
}

5
lua/plugins/fterm.lua Normal file
View File

@@ -0,0 +1,5 @@
return {
"numToStr/FTerm.nvim",
config = function()
end
}

35
lua/plugins/lsp.lua Normal file
View File

@@ -0,0 +1,35 @@
local function configure_lsp(server, config)
vim.lsp.config(server, config)
vim.lsp.enable(server)
end
return {
"neovim/nvim-lspconfig",
config = function()
vim.lsp.inlay_hint.enable(true)
local capabilities = require("cmp_nvim_lsp").default_capabilities()
configure_lsp("lua_ls", {
capabilities = capabilities,
settings = {
Lua = {
workspace = {
library = vim.api.nvim_get_runtime_file("", true),
},
},
},
})
configure_lsp("pyright", {
capabilities = capabilities,
})
configure_lsp("jdtls", {
capabilities = capabilities,
})
configure_lsp("marksman", {
capabilities = capabilities,
})
end,
}

11
lua/plugins/lualine.lua Normal file
View File

@@ -0,0 +1,11 @@
return {
'nvim-lualine/lualine.nvim',
dependencies = { 'nvim-tree/nvim-web-devicons' },
config = function()
require('lualine').setup({
options = {
theme = 'ayu_mirage'
}
})
end,
}

21
lua/plugins/mason.lua Normal file
View File

@@ -0,0 +1,21 @@
return {
{
"mason-org/mason.nvim",
config = function()
require("mason").setup()
end,
},
{
"mason-org/mason-lspconfig.nvim",
config = function()
require("mason-lspconfig").setup({
ensure_installed = {
"lua_ls",
"rust_analyzer",
"pyright",
"jdtls",
}
})
end
},
}

16
lua/plugins/neo-tree.lua Normal file
View File

@@ -0,0 +1,16 @@
return {
"nvim-tree/nvim-tree.lua",
version = "*",
lazy = false,
dependencies = {
"nvim-tree/nvim-web-devicons",
},
config = function()
require("nvim-tree").setup({
diagnostics = {
enable = true,
}
})
end,
}

13
lua/plugins/none-ls.lua Normal file
View File

@@ -0,0 +1,13 @@
return {
"nvimtools/none-ls.nvim",
config = function()
local null_ls = require("null-ls")
null_ls.setup({
sources = {
null_ls.builtins.formatting.stylua,
null_ls.builtins.formatting.mdformat,
},
})
end,
}

11
lua/plugins/origami.lua Normal file
View File

@@ -0,0 +1,11 @@
return {
"chrisgrieser/nvim-origami",
event = "VeryLazy",
config = function ()
require("origami").setup({})
end,
init = function ()
vim.opt.foldlevel = 99
vim.opt.foldlevelstart = 99
end
}

View File

@@ -0,0 +1,7 @@
return {
"MeanderingProgrammer/render-markdown.nvim",
dependencies = { "nvim-treesitter/nvim-treesitter", "nvim-tree/nvim-web-devicons" },
config = function()
require("render-markdown").setup({})
end,
}

23
lua/plugins/telescope.lua Normal file
View File

@@ -0,0 +1,23 @@
return {
{
'nvim-telescope/telescope.nvim', version = '*',
dependencies = {
'nvim-lua/plenary.nvim',
-- optional but recommended
{ 'nvim-telescope/telescope-fzf-native.nvim', build = 'make' },
}
},
{
"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
}
}

30
lua/plugins/themery.lua Normal file
View File

@@ -0,0 +1,30 @@
return {
"zaldih/themery.nvim",
lazy = false,
config = function()
require("themery").setup({
themes = {
{
name = "Catppuccin",
colorscheme = "catppuccin",
before = [[
vim.opt.background = "dark"
]],
after = [[
require("lualine").setup({ options = { theme = "ayu_mirage" } })
]]
},
{
name = "Gruvbox",
colorscheme = "gruvbox",
before = [[
vim.opt.background = "dark"
]],
after = [[
require("lualine").setup({ options = { theme = "gruvbox" } })
]]
}
}
})
end
}

View File

@@ -0,0 +1,17 @@
return {
'nvim-treesitter/nvim-treesitter',
lazy = false,
branch = 'master',
build = ':TSUpdate',
config = function()
local configs = require("nvim-treesitter.configs")
configs.setup({
highlight = { enable = true },
indent = { enable = true },
autotag = { enable = true },
ensure_installed = {
"lua", "c", "rust", "python", "java"
},
})
end,
}

21
lua/plugins/which-key.lua Normal file
View File

@@ -0,0 +1,21 @@
return {
"folke/which-key.nvim",
event = "VeryLazy",
config = function()
local wk = require("which-key")
wk.add({
{ "<leader>e", desc = "Explorer" },
{ "<leader>ff", desc = "Find files" },
{ "<leader>fg", desc = "Live grep" },
{ "<leader>q", desc = "Close buffer" },
{ "<leader>Q", desc = "Force close buffer" },
{ "<leader>nn", desc = "Toggle relative numbers" },
})
end,
}