broke custom init in to different files

This commit is contained in:
Adam McNeil 2025-10-06 15:53:45 -05:00
parent 98690636a9
commit 3babca60e7
6 changed files with 50 additions and 51 deletions

View File

@ -716,12 +716,7 @@ require('lazy').setup({
-- - settings (table): Override the default settings passed when initializing the server. -- - settings (table): Override the default settings passed when initializing the server.
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/ -- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
local servers = { local servers = {
clangd = {},
gopls = {},
pyright = {}, pyright = {},
rust_analyzer = {},
jdtls = {},
svelte = {},
marksman = {}, marksman = {},
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
-- --

View File

@ -0,0 +1,25 @@
return {
'catppuccin/nvim',
name = 'catppuccin',
priority = 1000,
config = function()
require('catppuccin').setup {
flavour = 'mocha',
integrations = {
telescope = true,
treesitter = true,
cmp = true,
gitsigns = true,
},
custom_highlights = function(colors)
return {
LineNr = { fg = colors.mauve },
CursorLineNr = { fg = colors.lavender, bold = true },
Visual = { bg = colors.surface1 },
TelescopeSelection = { bg = colors.surface1 },
}
end,
}
vim.cmd.colorscheme 'catppuccin'
end,
}

View File

@ -0,0 +1 @@
return { 'glacambre/firenvim', build = ':call firenvim#install(0)' }

View File

@ -10,48 +10,10 @@ vim.opt.wrap = false
vim.keymap.set('n', '<C-k>', '15k', { desc = 'Scroll up and center' }) vim.keymap.set('n', '<C-k>', '15k', { desc = 'Scroll up and center' })
vim.keymap.set('n', '<C-j>', '15j', { desc = 'Scroll down and center' }) vim.keymap.set('n', '<C-j>', '15j', { desc = 'Scroll down and center' })
vim.keymap.set('n', '<C-c>', 'ggVGy', { desc = 'Copy file' }) vim.keymap.set('n', '<C-c>', 'ggVGy', { desc = 'Copy file' })
vim.keymap.set('n', '<leader>e', ':Explore<CR>', { desc = 'Open explorer' }) vim.keymap.set('n', '<leader>e', ':Neotree<CR>', { noremap = true, silent = true })
-- vim.keymap.set('n', '<leader>e', ':Explore<CR>', { desc = 'Open explorer' })
return { return {
{
'catppuccin/nvim',
name = 'catppuccin',
priority = 1000,
config = function()
require('catppuccin').setup {
flavour = 'mocha',
integrations = {
telescope = true,
treesitter = true,
cmp = true,
gitsigns = true,
},
custom_highlights = function(colors)
return {
LineNr = { fg = colors.mauve },
CursorLineNr = { fg = colors.lavender, bold = true },
Visual = { bg = colors.surface1 },
TelescopeSelection = { bg = colors.surface1 },
}
end,
}
vim.cmd.colorscheme 'catppuccin'
end,
},
{
-- Set lualine as statusline
'nvim-lualine/lualine.nvim',
-- See `:help lualine.txt`
opts = {
options = {
icons_enabled = false,
component_separators = '|',
section_separators = '',
},
},
},
{ {
'NeogitOrg/neogit', 'NeogitOrg/neogit',
dependencies = { dependencies = {
@ -62,14 +24,9 @@ return {
}, },
config = function() config = function()
local neogit = require 'neogit' local neogit = require 'neogit'
vim.keymap.set('n', '<leader>gg', neogit.open, { desc = 'Open Neogit' }) vim.keymap.set('n', '<leader>gg', neogit.open, { desc = 'Open Neogit' })
neogit.setup {} neogit.setup {}
end, end,
}, },
{
'mfussenegger/nvim-jdtls',
},
} }

View File

@ -0,0 +1,12 @@
return {
-- Set lualine as statusline
'nvim-lualine/lualine.nvim',
-- See `:help lualine.txt`
opts = {
options = {
icons_enabled = false,
component_separators = '|',
section_separators = '',
},
},
}

View File

@ -0,0 +1,9 @@
return {
'nvim-tree/nvim-tree.lua',
dependencies = {
'nvim-tree/nvim-web-devicons',
},
config = function()
require('nvim-tree').setup {}
end,
}