change theme

This commit is contained in:
Mans Ziesel 2023-12-23 19:31:02 +01:00
parent 2f01e7ed9c
commit 400134dd20

View File

@ -144,6 +144,8 @@ require('lazy').setup({
},
},
{ 'norcalli/nvim-colorizer.lua' },
-- {
-- -- Theme inspired by Atom
-- -- 'ellisonleao/gruvbox.nvim',
@ -158,13 +160,13 @@ require('lazy').setup({
-- transparent = true
-- }
-- },
{
"folke/tokyonight.nvim",
lazy = false,
priority = 1000,
opts = {
},
},
-- {
-- "folke/tokyonight.nvim",
-- lazy = false,
-- priority = 1000,
-- opts = {
-- },
-- },
{
-- Set lualine as statusline
@ -249,12 +251,23 @@ require('lazy').setup({
-- See `:help vim.o`
-- NOTE: You can change these options as you wish!
require("tokyonight").setup({
style = "night", -- The theme comes in three styles, `storm`, `moon`, a darker variant `night` and `day`
transparent = false, -- Enable this to disable setting the background color
})
-- require("tokyonight").setup({
-- style = "night", -- The theme comes in three styles, `storm`, `moon`, a darker variant `night` and `day`
-- transparent = false, -- Enable this to disable setting the background color
-- })
vim.cmd[[colorscheme tokyonight]]
-- require("colorizer").setup()
vim.o.termguicolors = true
require 'colorizer'.setup {
'css';
'javascript';
html = {
mode = 'foreground';
}
}
-- vim.cmd[[colorscheme tokyonight]]
-- Set highlight on search
@ -325,10 +338,10 @@ vim.api.nvim_set_keymap('n', '<leader>yy', '"+yy', { noremap = true, silent = tr
vim.api.nvim_set_keymap('v', '<leader>y', '"+y', { noremap = true, silent = true })
-- Paste from clipboard
vim.api.nvim_set_keymap('n', '<leader>p', '"+p', { noremap = true, silent = true })
vim.api.nvim_set_keymap('n', '<leader>P', '"+P', { noremap = true, silent = true })
vim.api.nvim_set_keymap('v', '<leader>p', '"+p', { noremap = true, silent = true })
vim.api.nvim_set_keymap('v', '<leader>P', '"+P', { noremap = true, silent = true })
vim.api.nvim_set_keymap('n', '<leader>v', '"+p', { noremap = true, silent = true })
vim.api.nvim_set_keymap('n', '<leader>V', '"+P', { noremap = true, silent = true })
vim.api.nvim_set_keymap('v', '<leader>v', '"+p', { noremap = true, silent = true })
vim.api.nvim_set_keymap('v', '<leader>v', '"+P', { noremap = true, silent = true })
-- [[ Highlight on yank ]]
-- See `:help vim.highlight.on_yank()`