Files
neovim/init.lua
T
Christopher Williams be09201c95 Split config
2026-01-11 21:30:04 -05:00

49 lines
976 B
Lua

-- vim built in options
vim.g.mapleader = " "
vim.o.relativenumber = true
vim.o.number = true
vim.o.signcolumn = "yes"
vim.o.undofile = true
vim.o.tabstop = 4
vim.o.shiftwidth = 0
vim.o.expandtab = true
vim.o.foldcolumn = "1"
vim.o.foldlevel = 99
vim.o.foldlevelstart = 99
vim.o.foldenable = true
-- require("vim._extui").enable({})
-- Lazy plugin manager
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable",
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup({
require("plugins.appearance"),
require("plugins.editor"),
require("plugins.git"),
require("plugins.ai"),
require("plugins.orgmode"),
require("plugins.lsp"),
})
-- LSP
vim.diagnostic.config({ virtual_text = true })
vim.lsp.inlay_hint.enable(true)
vim.cmd([[colorscheme tokyonight-night]])
require("keymap")