update theme

This commit is contained in:
meannzen 2026-01-29 10:37:38 +07:00
parent 05bcbc7f90
commit 85f35b385c
2 changed files with 1103 additions and 60 deletions

View File

@ -152,7 +152,7 @@ vim.o.splitbelow = true
vim.o.list = false
vim.o.autoindent = true -- Disable auto-indentation
vim.o.smartindent = true -- Disable smart indentation
vim.o.cindent = true -- Disable C-style indentation
vim.o.cindent = false -- Disable C-style indentation
vim.o.expandtab = true -- Ensure tabs are converted to spaces
vim.o.shiftwidth = 3 -- No extra spaces for indentation
vim.o.tabstop = 3 -- One space per tab
@ -888,74 +888,39 @@ require('lazy').setup({
signature = { enabled = true },
},
},
-- { -- You can easily change to a different colorscheme.
-- -- Change the name of the colorscheme plugin below, and then
-- -- 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`.
-- 'folke/tokyonight.nvim',
-- priority = 1000, -- Make sure to load this before all the other start plugins.
-- transparent = true,
-- config = function()
-- ---@diagnostic disable-next-line: missing-fields
-- require('tokyonight').setup {
-- styles = {
-- comments = { italic = false }, -- Disable italics in comments
-- keywords = { italic = false },
-- sidebars = 'dark', -- style for sidebars, see below
-- floats = 'dark', -- style for floating windows
-- },
-- }
-- -- 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-storm'
-- vim.api.nvim_set_hl(0, 'Normal', { bg = 'none' })
-- vim.api.nvim_set_hl(0, 'NormalFloat', { bg = 'none' })
-- end,
-- },
-- Using Lazy
-- {
-- "ellisonleao/gruvbox.nvim",
-- priority = 1000, -- make sure to load this before all the other start plugins
-- config = function()
-- require('gruvbox').setup {
-- style = 'dark'
-- }
-- -- Enable theme
-- require('gruvbox').load()
-- end
-- 'ellisonleao/gruvbox.nvim',
-- priority = 1000, -- make sure to load this before all the other start plugins
-- config = function()
-- require('gruvbox').setup {
-- style = 'dark',
-- }
-- Enable theme
-- require('gruvbox').load()
-- end,
-- },
-- Or with configuration
{
'projekt0n/github-nvim-theme',
name = 'github-theme',
lazy = false, -- make sure we load this during startup if it is your main colorscheme
priority = 1000, -- make sure to load this before all the other start plugins
{ -- You can easily change to a different colorscheme.
-- Change the name of the colorscheme plugin below, and then
-- 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`.
'folke/tokyonight.nvim',
priority = 1000, -- Make sure to load this before all the other start plugins.
config = function()
require('github-theme').setup {
options = {
styles = {
--comments = 'italic',
--keywords = 'italic',
--types = 'italic',
},
},
specs = {
github_dark = {
syntax = {},
},
},
prettier = {
bg1 = '#151b23',
---@diagnostic disable-next-line: missing-fields
require('tokyonight').setup {
styles = {
comments = { italic = false }, -- Disable italics in comments
},
}
vim.cmd 'colorscheme github_dark'
-- 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,
},
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },
{ -- Collection of various small independent plugins/modules

1078
lua/init.lua Normal file

File diff suppressed because it is too large Load Diff