update theme
This commit is contained in:
parent
05bcbc7f90
commit
85f35b385c
85
init.lua
85
init.lua
|
|
@ -152,7 +152,7 @@ vim.o.splitbelow = true
|
||||||
vim.o.list = false
|
vim.o.list = false
|
||||||
vim.o.autoindent = true -- Disable auto-indentation
|
vim.o.autoindent = true -- Disable auto-indentation
|
||||||
vim.o.smartindent = true -- Disable smart 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.expandtab = true -- Ensure tabs are converted to spaces
|
||||||
vim.o.shiftwidth = 3 -- No extra spaces for indentation
|
vim.o.shiftwidth = 3 -- No extra spaces for indentation
|
||||||
vim.o.tabstop = 3 -- One space per tab
|
vim.o.tabstop = 3 -- One space per tab
|
||||||
|
|
@ -888,74 +888,39 @@ require('lazy').setup({
|
||||||
signature = { enabled = true },
|
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",
|
-- 'ellisonleao/gruvbox.nvim',
|
||||||
-- priority = 1000, -- make sure to load this before all the other start plugins
|
-- priority = 1000, -- make sure to load this before all the other start plugins
|
||||||
-- config = function()
|
-- config = function()
|
||||||
-- require('gruvbox').setup {
|
-- require('gruvbox').setup {
|
||||||
-- style = 'dark'
|
-- style = 'dark',
|
||||||
-- }
|
-- }
|
||||||
-- -- Enable theme
|
-- Enable theme
|
||||||
-- require('gruvbox').load()
|
-- require('gruvbox').load()
|
||||||
-- end
|
-- end,
|
||||||
-- },
|
-- },
|
||||||
-- Or with configuration
|
-- Or with configuration
|
||||||
{
|
{ -- You can easily change to a different colorscheme.
|
||||||
'projekt0n/github-nvim-theme',
|
-- Change the name of the colorscheme plugin below, and then
|
||||||
name = 'github-theme',
|
-- change the command in the config to whatever the name of that colorscheme is.
|
||||||
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
|
-- 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()
|
config = function()
|
||||||
require('github-theme').setup {
|
---@diagnostic disable-next-line: missing-fields
|
||||||
options = {
|
require('tokyonight').setup {
|
||||||
styles = {
|
styles = {
|
||||||
--comments = 'italic',
|
comments = { italic = false }, -- Disable italics in comments
|
||||||
--keywords = 'italic',
|
|
||||||
--types = 'italic',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
specs = {
|
|
||||||
github_dark = {
|
|
||||||
syntax = {},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
prettier = {
|
|
||||||
bg1 = '#151b23',
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
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,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },
|
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },
|
||||||
|
|
||||||
{ -- Collection of various small independent plugins/modules
|
{ -- Collection of various small independent plugins/modules
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue