From 9121b9d3372c889020cb38832d6b6aa947ea8ab5 Mon Sep 17 00:00:00 2001 From: Blallo Date: Sat, 20 Nov 2021 00:09:43 +0100 Subject: [PATCH] Use tokionight theme --- lua/config/theme.lua | 15 +++++---- lua/plugins.lua | 3 +- plugin/packer_compiled.lua | 66 +++++++++++++++++++++++++------------- 3 files changed, 54 insertions(+), 30 deletions(-) diff --git a/lua/config/theme.lua b/lua/config/theme.lua index e845f40..0915caa 100644 --- a/lua/config/theme.lua +++ b/lua/config/theme.lua @@ -26,14 +26,17 @@ local let = utils.let require('lualine').setup({ options = { - theme = "github" + theme = "tokionight" + -- theme = "github" -- section_separators = {'', ''}, -- component_separators = {'', ''} } }) -require('github-theme').setup({ - function_style = "italic", - theme_style = "dimmed" -}) - +-- require('github-theme').setup({ +-- function_style = "italic", +-- theme_style = "dimmed" +-- }) +vim.g.tokyonight_style = "storm" +vim.g.tokyonight_italic_functions = true +cmd[[colorscheme tokyonight]] diff --git a/lua/plugins.lua b/lua/plugins.lua index ae9d818..fad8554 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -41,7 +41,8 @@ local function init() -- use 'morhetz/gruvbox' -- use 'vim-airline/vim-airline' -- use 'vim-airline/vim-airline-themes' - use 'projekt0n/github-nvim-theme' + -- use 'projekt0n/github-nvim-theme' + use 'folke/tokyonight.nvim' use { 'hoob3rt/lualine.nvim', requires = {'kyazdani42/nvim-web-devicons', opt = true} diff --git a/plugin/packer_compiled.lua b/plugin/packer_compiled.lua index 5a2f101..a0038b5 100644 --- a/plugin/packer_compiled.lua +++ b/plugin/packer_compiled.lua @@ -71,85 +71,105 @@ time([[Defining packer_plugins]], true) _G.packer_plugins = { ["auto-pairs"] = { loaded = true, - path = "/home/leo/.local/share/nvim/site/pack/packer/start/auto-pairs" + path = "/home/leo/.local/share/nvim/site/pack/packer/start/auto-pairs", + url = "https://github.com/jiangmiao/auto-pairs" }, ["coc.nvim"] = { loaded = true, - path = "/home/leo/.local/share/nvim/site/pack/packer/start/coc.nvim" - }, - ["github-nvim-theme"] = { - loaded = true, - path = "/home/leo/.local/share/nvim/site/pack/packer/start/github-nvim-theme" + path = "/home/leo/.local/share/nvim/site/pack/packer/start/coc.nvim", + url = "https://github.com/neoclide/coc.nvim" }, ["lualine.nvim"] = { loaded = true, - path = "/home/leo/.local/share/nvim/site/pack/packer/start/lualine.nvim" + path = "/home/leo/.local/share/nvim/site/pack/packer/start/lualine.nvim", + url = "https://github.com/hoob3rt/lualine.nvim" }, ["nginx.vim"] = { loaded = true, - path = "/home/leo/.local/share/nvim/site/pack/packer/start/nginx.vim" + path = "/home/leo/.local/share/nvim/site/pack/packer/start/nginx.vim", + url = "https://github.com/chr4/nginx.vim" }, ["nvim-lspconfig"] = { loaded = true, - path = "/home/leo/.local/share/nvim/site/pack/packer/start/nvim-lspconfig" + path = "/home/leo/.local/share/nvim/site/pack/packer/start/nvim-lspconfig", + url = "https://github.com/neovim/nvim-lspconfig" }, ["nvim-mapper"] = { config = { "\27LJ\1\2=\0\0\2\0\3\0\a4\0\0\0%\1\1\0>\0\2\0027\0\2\0002\1\0\0>\0\2\1G\0\1\0\nsetup\16nvim-mapper\frequire\0" }, loaded = true, - path = "/home/leo/.local/share/nvim/site/pack/packer/start/nvim-mapper" + path = "/home/leo/.local/share/nvim/site/pack/packer/start/nvim-mapper", + url = "https://github.com/lazytanuki/nvim-mapper" }, ["nvim-treesitter"] = { loaded = true, - path = "/home/leo/.local/share/nvim/site/pack/packer/start/nvim-treesitter" + path = "/home/leo/.local/share/nvim/site/pack/packer/start/nvim-treesitter", + url = "https://github.com/nvim-treesitter/nvim-treesitter" }, ["nvim-treesitter-refactor"] = { loaded = true, - path = "/home/leo/.local/share/nvim/site/pack/packer/start/nvim-treesitter-refactor" + path = "/home/leo/.local/share/nvim/site/pack/packer/start/nvim-treesitter-refactor", + url = "https://github.com/nvim-treesitter/nvim-treesitter-refactor" }, ["nvim-treesitter-textobjects"] = { loaded = true, - path = "/home/leo/.local/share/nvim/site/pack/packer/start/nvim-treesitter-textobjects" + path = "/home/leo/.local/share/nvim/site/pack/packer/start/nvim-treesitter-textobjects", + url = "https://github.com/nvim-treesitter/nvim-treesitter-textobjects" }, ["nvim-web-devicons"] = { loaded = true, - path = "/home/leo/.local/share/nvim/site/pack/packer/start/nvim-web-devicons" + path = "/home/leo/.local/share/nvim/site/pack/packer/start/nvim-web-devicons", + url = "https://github.com/kyazdani42/nvim-web-devicons" }, ["packer.nvim"] = { loaded = true, - path = "/home/leo/.local/share/nvim/site/pack/packer/start/packer.nvim" + path = "/home/leo/.local/share/nvim/site/pack/packer/start/packer.nvim", + url = "https://github.com/wbthomason/packer.nvim" }, ["plenary.nvim"] = { loaded = true, - path = "/home/leo/.local/share/nvim/site/pack/packer/start/plenary.nvim" + path = "/home/leo/.local/share/nvim/site/pack/packer/start/plenary.nvim", + url = "https://github.com/nvim-lua/plenary.nvim" }, ["popup.nvim"] = { loaded = true, - path = "/home/leo/.local/share/nvim/site/pack/packer/start/popup.nvim" + path = "/home/leo/.local/share/nvim/site/pack/packer/start/popup.nvim", + url = "https://github.com/nvim-lua/popup.nvim" }, ["telescope.nvim"] = { config = { "\27LJ\1\2K\0\0\2\0\4\0\a4\0\0\0%\1\1\0>\0\2\0027\0\2\0%\1\3\0>\0\2\1G\0\1\0\vmapper\19load_extension\14telescope\frequire\0" }, loaded = true, - path = "/home/leo/.local/share/nvim/site/pack/packer/start/telescope.nvim" + path = "/home/leo/.local/share/nvim/site/pack/packer/start/telescope.nvim", + url = "https://github.com/nvim-telescope/telescope.nvim" + }, + ["tokyonight.nvim"] = { + loaded = true, + path = "/home/leo/.local/share/nvim/site/pack/packer/start/tokyonight.nvim", + url = "https://github.com/folke/tokyonight.nvim" }, undotree = { loaded = true, - path = "/home/leo/.local/share/nvim/site/pack/packer/start/undotree" + path = "/home/leo/.local/share/nvim/site/pack/packer/start/undotree", + url = "https://github.com/mbbill/undotree" }, ["vim-matchup"] = { loaded = true, - path = "/home/leo/.local/share/nvim/site/pack/packer/start/vim-matchup" + path = "/home/leo/.local/share/nvim/site/pack/packer/start/vim-matchup", + url = "https://github.com/andymass/vim-matchup" }, ["vim-maximizer"] = { loaded = true, - path = "/home/leo/.local/share/nvim/site/pack/packer/start/vim-maximizer" + path = "/home/leo/.local/share/nvim/site/pack/packer/start/vim-maximizer", + url = "https://github.com/szw/vim-maximizer" }, ["vim-sandwich"] = { loaded = true, - path = "/home/leo/.local/share/nvim/site/pack/packer/start/vim-sandwich" + path = "/home/leo/.local/share/nvim/site/pack/packer/start/vim-sandwich", + url = "https://github.com/machakann/vim-sandwich" }, ["zig.vim"] = { loaded = true, - path = "/home/leo/.local/share/nvim/site/pack/packer/start/zig.vim" + path = "/home/leo/.local/share/nvim/site/pack/packer/start/zig.vim", + url = "https://github.com/ziglang/zig.vim" } }