updatet colorschemes
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
-- In your init.lua or after lazy setup
|
||||
vim.opt.termguicolors = true
|
||||
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not vim.loop.fs_stat(lazypath) then
|
||||
vim.fn.system({
|
||||
@@ -46,3 +49,11 @@ require("lazy").setup({
|
||||
dependencies = "hrsh7th/nvim-cmp",
|
||||
},
|
||||
})
|
||||
|
||||
-- In your init.lua or after lazy setup
|
||||
local theme_file = vim.fn.stdpath("config") .. "/lua/current_theme.lua"
|
||||
if vim.fn.filereadable(theme_file) == 1 then
|
||||
dofile(theme_file)
|
||||
else
|
||||
vim.cmd.colorscheme("catppuccin") -- fallback
|
||||
end
|
||||
|
||||
@@ -11,14 +11,18 @@
|
||||
"conform.nvim": { "branch": "master", "commit": "8314f4c9e205e7f30b62147069729f9a1227d8bf" },
|
||||
"dashboard-nvim": { "branch": "master", "commit": "0775e567b6c0be96d01a61795f7b64c1758262f6" },
|
||||
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
|
||||
"dracula.nvim": { "branch": "main", "commit": "ae752c13e95fb7c5f58da4b5123cb804ea7568ee" },
|
||||
"dressing.nvim": { "branch": "master", "commit": "2d7c2db2507fa3c4956142ee607431ddb2828639" },
|
||||
"everforest": { "branch": "master", "commit": "b90025cc84dbb9c46df5a2ae540d3f01cf85af74" },
|
||||
"flash.nvim": { "branch": "main", "commit": "fcea7ff883235d9024dc41e638f164a450c14ca2" },
|
||||
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
|
||||
"fzf-lua": { "branch": "main", "commit": "b8d1356b7120f5cf111709cb2fa504096248fb26" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "42d6aed4e94e0f0bbced16bbdcc42f57673bd75e" },
|
||||
"grapple.nvim": { "branch": "main", "commit": "b41ddfc1c39f87f3d1799b99c2f0f1daa524c5f7" },
|
||||
"gruvbox-mat": { "branch": "master", "commit": "e4359a2f80ef7275b080be180841c62ca8322757" },
|
||||
"harpoon": { "branch": "harpoon2", "commit": "87b1a3506211538f460786c23f98ec63ad9af4e5" },
|
||||
"indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" },
|
||||
"kanagawa.nvim": { "branch": "master", "commit": "aef7f5cec0a40dbe7f3304214850c472e2264b10" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
|
||||
"lazydev.nvim": { "branch": "main", "commit": "5231c62aa83c2f8dc8e7ba957aa77098cda1257d" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" },
|
||||
@@ -27,10 +31,12 @@
|
||||
"mason.nvim": { "branch": "main", "commit": "44d1e90e1f66e077268191e3ee9d2ac97cc18e65" },
|
||||
"neo-tree.nvim": { "branch": "v3.x", "commit": "f3df514fff2bdd4318127c40470984137f87b62e" },
|
||||
"neogit": { "branch": "master", "commit": "d8bf9102692250193b855acd9025a826f1af2729" },
|
||||
"nightfox.nvim": { "branch": "main", "commit": "ba47d4b4c5ec308718641ba7402c143836f35aa9" },
|
||||
"noice.nvim": { "branch": "main", "commit": "7bfd942445fb63089b59f97ca487d605e715f155" },
|
||||
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
|
||||
"nvim-autopairs": { "branch": "master", "commit": "c2a0dd0d931d0fb07665e1fedb1ea688da3b80b4" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "85bbfad83f804f11688d1ab9486b459e699292d6" },
|
||||
"nvim-colorizer.lua": { "branch": "master", "commit": "a065833f35a3a7cc3ef137ac88b5381da2ba302e" },
|
||||
"nvim-lint": { "branch": "master", "commit": "ca6ea12daf0a4d92dc24c5c9ae22a1f0418ade37" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "92ee7d42320edfbb81f3cad851314ab197fa324a" },
|
||||
"nvim-navic": { "branch": "master", "commit": "f5eba192f39b453675d115351808bd51276d9de5" },
|
||||
@@ -43,12 +49,16 @@
|
||||
"nvim-ts-context-commentstring": { "branch": "main", "commit": "1b212c2eee76d787bbea6aa5e92a2b534e7b4f8f" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "6788013bb9cb784e606ada44206b0e755e4323d7" },
|
||||
"obsidian.nvim": { "branch": "main", "commit": "ae1f76a75c7ce36866e1d9342a8f6f5b9c2caf9b" },
|
||||
"onedark-warm": { "branch": "master", "commit": "213c23ae45a04797572242568d5d51937181792d" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
||||
"portal.nvim": { "branch": "main", "commit": "77d9d53fec945bfa407d5fd7120f1b4f117450ed" },
|
||||
"rainbow-delimiters.nvim": { "branch": "master", "commit": "8aafe2cbd89cd4090f573a98cab6b20366576fde" },
|
||||
"render-markdown.nvim": { "branch": "main", "commit": "73a6ebc842cf81926eb1d424820b800f6f6a1227" },
|
||||
"rose-pine": { "branch": "main", "commit": "cf2a288696b03d0934da713d66c6d71557b5c997" },
|
||||
"sonokai": { "branch": "master", "commit": "5c7f88c0cac01b32cfce634f2a28947ab426537f" },
|
||||
"telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" },
|
||||
"telescope.nvim": { "branch": "master", "commit": "3333a52ff548ba0a68af6d8da1e54f9cd96e9179" },
|
||||
"tokyonight": { "branch": "main", "commit": "5da1b76e64daf4c5d410f06bcb6b9cb640da7dfd" },
|
||||
"trouble.nvim": { "branch": "main", "commit": "bd67efe408d4816e25e8491cc5ad4088e708a69a" },
|
||||
"vim-test": { "branch": "master", "commit": "aa619692ff48a3cf3e6bdb893765039488d4e5f3" },
|
||||
"vimtex": { "branch": "master", "commit": "3abfa1ff75b81c01e4305e8062549ac0ea5cc9b8" },
|
||||
|
||||
11
nvim/.config/nvim/lua/current_theme.lua
Normal file
11
nvim/.config/nvim/lua/current_theme.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
vim.cmd.colorscheme("rose-pine")
|
||||
-- sonokai
|
||||
-- rose-pine
|
||||
-- onedark
|
||||
-- nightfox
|
||||
-- kanagawa
|
||||
-- gruvbox-mat
|
||||
-- everforest
|
||||
-- dracula
|
||||
-- carbonfox
|
||||
-- tokyonight
|
||||
@@ -1,11 +0,0 @@
|
||||
return {
|
||||
{
|
||||
"catppuccin/nvim",
|
||||
lazy = false,
|
||||
name = "catppuccin",
|
||||
priority = 1000,
|
||||
config = function()
|
||||
vim.cmd.colorscheme "catppuccin-mocha"
|
||||
end
|
||||
}
|
||||
}
|
||||
112
nvim/.config/nvim/lua/plugins/colorschemes.lua
Normal file
112
nvim/.config/nvim/lua/plugins/colorschemes.lua
Normal file
@@ -0,0 +1,112 @@
|
||||
return {
|
||||
{
|
||||
"catppuccin/nvim",
|
||||
lazy = false,
|
||||
name = "catppuccin",
|
||||
config = function()
|
||||
vim.cmd("colorscheme catppuccin-mocha")
|
||||
end,
|
||||
},
|
||||
{
|
||||
"sainnhe/everforest",
|
||||
lazy = false,
|
||||
config = function()
|
||||
vim.g.everforest_enable_italic = true
|
||||
vim.cmd.colorscheme("everforest")
|
||||
end,
|
||||
},
|
||||
{
|
||||
"folke/tokyonight.nvim",
|
||||
lazy = false,
|
||||
opts = {},
|
||||
name = "tokyonight",
|
||||
config = function()
|
||||
vim.cmd("colorscheme tokyonight-moon")
|
||||
end,
|
||||
},
|
||||
{
|
||||
"rose-pine/neovim",
|
||||
lazy = false,
|
||||
name = "rose-pine",
|
||||
config = function()
|
||||
vim.cmd("colorscheme rose-pine-moon")
|
||||
end,
|
||||
},
|
||||
{
|
||||
"Mofiqul/dracula.nvim",
|
||||
lazy = false,
|
||||
config = function()
|
||||
vim.cmd("colorscheme dracula")
|
||||
end,
|
||||
},
|
||||
{
|
||||
"sainnhe/gruvbox-material",
|
||||
lazy = false,
|
||||
name = "gruvbox-mat", --medium
|
||||
config = function()
|
||||
vim.g.gruvbox_material_enable_italic = true
|
||||
vim.cmd.colorscheme("gruvbox-material")
|
||||
end,
|
||||
},
|
||||
{
|
||||
"navarasu/onedark.nvim",
|
||||
lazy = false,
|
||||
name = "onedark-warm",
|
||||
config = function()
|
||||
require("onedark").setup({
|
||||
style = "warm",
|
||||
})
|
||||
require("onedark").load()
|
||||
end,
|
||||
},
|
||||
{
|
||||
"EdenEast/nightfox.nvim",
|
||||
lazy = false,
|
||||
config = function()
|
||||
vim.cmd.colorscheme("nordfox")
|
||||
end,
|
||||
},
|
||||
{
|
||||
"sainnhe/sonokai",
|
||||
lazy = false, -- Load during startup since it's a colorscheme
|
||||
config = function()
|
||||
vim.g.sonokai_style = "shusia" -- default, atlantis, shusia, espresso
|
||||
|
||||
-- Optional: Additional configuration
|
||||
vim.g.sonokai_better_performance = 1
|
||||
vim.g.sonokai_enable_italic = 1
|
||||
vim.g.sonokai_disable_italic_comment = 0
|
||||
vim.g.sonokai_transparent_background = 0
|
||||
|
||||
-- Apply the colorscheme
|
||||
vim.cmd.colorscheme("sonokai")
|
||||
end,
|
||||
},
|
||||
{
|
||||
"rebelot/kanagawa.nvim",
|
||||
lazy = false,
|
||||
config = function()
|
||||
require("kanagawa").setup({
|
||||
-- Optional: customize the theme
|
||||
compile = false, -- Enable for faster load times
|
||||
undercurl = true,
|
||||
commentStyle = { italic = true },
|
||||
functionStyle = {},
|
||||
keywordStyle = { italic = true },
|
||||
statementStyle = { bold = true },
|
||||
typeStyle = {},
|
||||
transparent = false,
|
||||
dimInactive = false,
|
||||
terminalColors = true,
|
||||
|
||||
-- Available themes: "wave" (default), "dragon", "lotus"
|
||||
theme = "wave", -- or "dragon" for darker, "lotus" for light
|
||||
background = {
|
||||
dark = "wave",
|
||||
},
|
||||
})
|
||||
|
||||
vim.cmd.colorscheme("kanagawa")
|
||||
end,
|
||||
},
|
||||
}
|
||||
@@ -23,6 +23,7 @@ return {
|
||||
"dockerls", -- Fixed: correct name
|
||||
"yamlls", -- Fixed: correct name (not yaml-language-server)
|
||||
"taplo", -- TOML LSP
|
||||
"cssls", -- css
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -121,6 +122,30 @@ return {
|
||||
},
|
||||
},
|
||||
},
|
||||
cssls = {
|
||||
capabilities = capabilities,
|
||||
on_attach = on_attach,
|
||||
settings = {
|
||||
css = {
|
||||
validate = true,
|
||||
lint = {
|
||||
unknownAtRules = "ignore", -- Important for @define-color in GTK CSS
|
||||
},
|
||||
},
|
||||
scss = {
|
||||
validate = true,
|
||||
lint = {
|
||||
unknownAtRules = "ignore",
|
||||
},
|
||||
},
|
||||
less = {
|
||||
validate = true,
|
||||
lint = {
|
||||
unknownAtRules = "ignore",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
pyright = {
|
||||
capabilities = capabilities,
|
||||
on_attach = on_attach,
|
||||
|
||||
@@ -1,10 +1,17 @@
|
||||
return {
|
||||
"nvim-lualine/lualine.nvim",
|
||||
config = function ()
|
||||
require('lualine').setup({
|
||||
options = {
|
||||
theme = 'dracula'
|
||||
}
|
||||
"nvim-lualine/lualine.nvim",
|
||||
config = function()
|
||||
require("lualine").setup({
|
||||
options = {
|
||||
theme = "auto",
|
||||
-- theme = "gruvbox-mat",
|
||||
-- theme = "kanagawa",
|
||||
-- theme = "nightfox",
|
||||
-- theme = "rose-pine",
|
||||
-- theme = "everforest",
|
||||
-- theme = "sonokai",
|
||||
-- theme = 'dracula'
|
||||
},
|
||||
})
|
||||
end
|
||||
end,
|
||||
}
|
||||
|
||||
8
nvim/.config/nvim/lua/plugins/nvim-colorizer.lua
Normal file
8
nvim/.config/nvim/lua/plugins/nvim-colorizer.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
return {
|
||||
{
|
||||
"norcalli/nvim-colorizer.lua",
|
||||
config = function()
|
||||
require("colorizer").setup()
|
||||
end,
|
||||
},
|
||||
}
|
||||
8
nvim/.config/nvim/lua/plugins/tokyonight.lua
Normal file
8
nvim/.config/nvim/lua/plugins/tokyonight.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
return {
|
||||
{
|
||||
"folke/tokyonight.nvim",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
opts = {},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user