Skip to content

Instantly share code, notes, and snippets.

View RiteshChepuri's full-sized avatar
🏔️
On Vacation,

RiteshChepuri RiteshChepuri

🏔️
On Vacation,
View GitHub Profile
vim.api.nvim_create_autocmd({ "BufRead", "BufNewFile" }, {
pattern = "*",
callback = function()
if vim.bo.filetype == "c" then
vim.cmd.colorscheme("tokyonight")
elseif vim.bo.filetype == "plaintex" then
vim.cmd.colorscheme("catppucin")
elseif vim.bo.filetype == "sh" then
vim.cmd.colorscheme("dracula")
else