tokyonight

This commit is contained in:
krolyxon 2023-10-02 13:39:19 +05:30
parent e0811a13a8
commit 18ecbe414f
1 changed files with 26 additions and 15 deletions

View File

@ -1,25 +1,36 @@
-- All plugins have lazy = true by default, to load a plugin on startup just lazy=false -- All plugins have lazy = true by default, to load a plugin on startup just lazy=false
local plugins = { local plugins = {
{ dir = "~/repos/krose-pine", -- { dir = "~/repos/krose-pine",
-- lazy = false,
-- priority = 1000,
-- config = function()
-- function ColorMyPencils(color)
-- color = color or "rose-pine"
-- vim.cmd.colorscheme(color)
--
-- vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
-- vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
--
-- end
--
-- ColorMyPencils()
-- end
-- },
{
"folke/tokyonight.nvim",
lazy = false, lazy = false,
priority = 1000, init = function()
config = function() require("tokyonight").setup({
function ColorMyPencils(color) transparent = true,
color = color or "rose-pine" })
vim.cmd.colorscheme(color) vim.cmd.colorscheme("tokyonight-night")
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
end
ColorMyPencils()
end end
}, },
{ 'nvim-lua/plenary.nvim' }, { 'nvim-lua/plenary.nvim' },
{ "nvim-treesitter/nvim-treesitter", {
"nvim-treesitter/nvim-treesitter",
init = function() init = function()
require("core.utils").lazy_load "nvim-treesitter" require("core.utils").lazy_load "nvim-treesitter"
end, end,
@ -177,7 +188,7 @@ local plugins = {
init = function() init = function()
vim.g.vimwiki_list = { vim.g.vimwiki_list = {
{ {
path = '~/dox/notes', path = '~/dox/brain/Notes',
syntax = 'markdown', syntax = 'markdown',
ext = '.md', ext = '.md',
} }