initial commit

This commit is contained in:
Jeremy 2025-11-10 15:34:16 -08:00
parent 3338d39206
commit 23c3ee80b7
1 changed files with 21 additions and 15 deletions

View File

@ -91,7 +91,7 @@ vim.g.mapleader = ' '
vim.g.maplocalleader = ' ' vim.g.maplocalleader = ' '
-- Set to true if you have a Nerd Font installed and selected in the terminal -- Set to true if you have a Nerd Font installed and selected in the terminal
vim.g.have_nerd_font = false vim.g.have_nerd_font = true
-- [[ Setting options ]] -- [[ Setting options ]]
-- See `:help vim.o` -- See `:help vim.o`
@ -120,7 +120,10 @@ end)
-- Enable break indent -- Enable break indent
vim.o.breakindent = true vim.o.breakindent = true
vim.opt.tabstop = 4
vim.opt.shiftwidth = 4
vim.opt.expandtab = true
vim.opt.softtabstop = 4
-- Save undo history -- Save undo history
vim.o.undofile = true vim.o.undofile = true
@ -247,8 +250,14 @@ rtp:prepend(lazypath)
-- NOTE: Here is where you install your plugins. -- NOTE: Here is where you install your plugins.
require('lazy').setup({ require('lazy').setup({
-- NOTE: Plugins can be added with a link (or for a github repo: 'owner/repo' link). -- NOTE: Plugins can be added with a link (or for a github repo: 'owner/repo' link).
'NMAC427/guess-indent.nvim', -- Detect tabstop and shiftwidth automatically
-- Detect tabstop and shiftwidth automatically
{
'NMAC427/guess-indent.nvim',
config = function()
require('guess-indent').setup {}
end,
},
-- NOTE: Plugins can also be added by using a table, -- NOTE: Plugins can also be added by using a table,
-- with the first argument being the link and the following -- with the first argument being the link and the following
-- keys can be used to configure plugin behavior/loading/etc. -- keys can be used to configure plugin behavior/loading/etc.
@ -881,20 +890,17 @@ require('lazy').setup({
-- change the command in the config to whatever the name of that colorscheme is. -- change the command in the config to whatever the name of that colorscheme is.
-- --
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`. -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
'folke/tokyonight.nvim', 'catppuccin/nvim',
priority = 1000, -- Make sure to load this before all the other start plugins. version = false,
lazy = false,
priority = 1000, -- make sure to load this before all the other start plugins
-- Optional; default configuration will be used if setup isn't called.
config = function() config = function()
---@diagnostic disable-next-line: missing-fields require('catppuccin').setup {
require('tokyonight').setup { -- Your config here
styles = { flavour = 'mocha',
comments = { italic = false }, -- Disable italics in comments
},
} }
vim.cmd.colorscheme 'catppuccin'
-- Load the colorscheme here.
-- Like many other themes, this one has different styles, and you could load
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
vim.cmd.colorscheme 'tokyonight-night'
end, end,
}, },