commit a337380cb8693fd87a48fc49713148ed85f4e1da from: amb date: Sat Jul 4 15:08:50 2026 UTC Make dark theme more comfy commit - b1a181fd014e8fa6324e0ea2c95936dea21ddf23 commit + a337380cb8693fd87a48fc49713148ed85f4e1da blob - db344bbe87e4dbcf702f232776002e7bb8d8aeed blob + a988f982ae4391092e6583aff4f33a6473a5c208 --- lua/colors.lua +++ lua/colors.lua @@ -15,13 +15,13 @@ _G.apply_theme = function(mode) } else c = { - bg = "#1c1c1c", - fg = "#d4d4d4", - visual = "#696969", - match = "#808080", - search_bg = "#808080", - search_fg = "#090909", - inc_search = "#c6c6c6" + bg = "#2a2927", + fg = "#beb8ad", + visual = "#4a4743", + match = "#6f6a63", + search_bg = "#8a7f6a", + search_fg = "#1f1e1c", + inc_search = "#c2a86b" } end @@ -49,7 +49,7 @@ _G.apply_theme = function(mode) end end -apply_theme("light") +apply_theme("dark") -- disable some mistical built-in treesitter that ignores syntax off vim.api.nvim_create_autocmd("FileType", { blob - 5ef83f83fb20b23d34e24f3f86fb2bd310e6bbd8 blob + 11676575d5f9442072ad236ab3bb8f07ac09a750 --- lua/options.lua +++ lua/options.lua @@ -63,7 +63,7 @@ vim.opt.fillchars:append({ vim.opt.rulerformat = '%l,%c' vim.opt.shortmess:append("I") --- Set makeprg on go files, maybe move this elsewhere? +-- Set makeprg on * files, maybe move this elsewhere? vim.api.nvim_create_autocmd("FileType", { pattern = "go", callback = function() @@ -72,5 +72,12 @@ vim.api.nvim_create_autocmd("FileType", { end, }) +vim.api.nvim_create_autocmd("FileType", { + pattern = "c", + callback = function() + vim.opt_local.makeprg = "./build.sh 2>&1 && ./main" + end, +}) + -- Disable cursor changes between modes vim.opt.guicursor = ""