repos / dotfiles

my dotfiles

commit
9705c1c
parent
f61dd57
author
Eric Bower
date
2025-11-21 20:35:06 -0500 EST
chore(nvim): cleanup
1 files changed,  +5, -16
M dot_config/nvim/init.lua
+5, -16
 1@@ -34,11 +34,9 @@ o.smartcase = true
 2 o.swapfile = false
 3 o.foldmethod = "indent"
 4 o.foldlevelstart = 99
 5-vim.g.netrw_banner = 0
 6-vim.g.netrw_cursor = 0
 7-vim.g.netrw_preview = 0
 8-vim.g.mapleader = ","
 9-vim.g.maplocalleader = ","
10+local g = vim.g
11+g.mapleader = ","
12+g.maplocalleader = ","
13 
14 local opts = { silent = true }
15 local map = vim.keymap.set
16@@ -114,17 +112,6 @@ local function setup_lsp()
17 	})
18 end
19 
20-autocmd("ColorScheme", { -- override default color scheme
21-	group = augroup,
22-	callback = function()
23-		local set = vim.api.nvim_set_hl
24-		set(0, "Comment", { fg = "#FFB86C" })
25-		set(0, "String", { fg = "#BD93F9" })
26-	end,
27-})
28-
29-vim.cmd("colorscheme default")
30-
31 vim.pack.add({
32 	"https://github.com/neovim/nvim-lspconfig",
33 	"https://github.com/nvim-mini/mini.pick",
34@@ -136,6 +123,8 @@ vim.pack.add({
35 	"https://github.com/nvim-mini/mini.files",
36 })
37 
38+vim.cmd("colorscheme default")
39+
40 require("vim._extui").enable({}) -- https://github.com/neovim/neovim/pull/27855
41 setup_lsp()
42 require("neoscroll").setup({ duration_multiplier = 0.3 })