all repos

init.lua @ 2bc8bf882a78a0bf4b176208ca7f5a5f6cf908c0

my nvim config
3 files changed, 5 insertions(+), 11 deletions(-)
feat(theme): change to tokyonight
Author: Smirnov Oleksandr ss2316544@gmail.com
Committed at: 2022-10-16 19:43:42 +0300
Parent: b8c3210
M lua/configs/statusline.lua

@@ -6,7 +6,7 @@ end,

padding = 0, }, diagnostic = { "diagnostics", sources = { "nvim_diagnostic" } }, - location = { "location", padding = 0, colored = false }, + location = { "location", padding = 1, colored = false }, lsp = { function() local clients = vim.lsp.get_active_clients { bufnr = 0 }

@@ -29,7 +29,7 @@ }

require("lualine").setup { options = { - theme = "kanagawa", + theme = "tokyonight", globalstatus = true, component_separators = { left = "", right = "" }, section_separators = { left = "", right = "" },
M lua/core/options.lua

@@ -1,12 +1,6 @@

local o, g = vim.opt, vim.g -local hl = vim.api.nvim_set_hl -pcall(vim.cmd.colorscheme, "kanagawa") - --- higlight -hl(0, "IlluminatedWordRead", { link = "LspReferenceRead" }) -hl(0, "IlluminatedWordText", { link = "LspReferenceText" }) -hl(0, "IlluminatedWordWrite", { link = "LspReferenceWrite" }) +pcall(vim.cmd.colorscheme, "tokyonight-night") -- leader g.mapleader = " "
M lua/plugins.lua

@@ -14,7 +14,7 @@ return packer.startup(function(use)

use "wbthomason/packer.nvim" use "nvim-lua/plenary.nvim" use "lewis6991/impatient.nvim" - use "rebelot/kanagawa.nvim" -- theme + use "folke/tokyonight.nvim" -- theme use { "~/code/gopher.nvim", ft = "go", module = "gopher" } use { "tpope/vim-surround", keys = { "c", "d", "y" } }

@@ -37,7 +37,7 @@ }

use { -- status line "nvim-lualine/lualine.nvim", - after = "kanagawa.nvim", + after = "tokyonight.nvim", config = u.get.config "statusline", }