diff --git a/.config/nvim/lua/keybinds.lua b/.config/nvim/lua/keybinds.lua index affdca4e..53263a9c 100644 --- a/.config/nvim/lua/keybinds.lua +++ b/.config/nvim/lua/keybinds.lua @@ -1 +1,2 @@ vim.g.mapleader = "space" + diff --git a/.config/nvim/lua/options.lua b/.config/nvim/lua/options.lua index f1f5af20..b4bd130a 100644 --- a/.config/nvim/lua/options.lua +++ b/.config/nvim/lua/options.lua @@ -1,10 +1,12 @@ -vim.opt.undodir = vim.fn.stdpath "cache" .. "/undo" -vim.opt.undofile = true -vim.opt.titlestring = " %t" -vim.opt.termguicolors = true -vim.opt.timeoutlen = 500 -vim.opt.foldmethod = "expr" -vim.opt.foldlevelstart = 99 -vim.opt.foldexpr = "nvim_treesitter#foldexpr()" +local opt = vim.opt -vim.g.tokyonight_style = "night" +opt.undodir = vim.fn.stdpath "cache" .. "/undo" +opt.undofile = true +opt.titlestring = " %t" +opt.termguicolors = true +opt.timeoutlen = 500 +opt.foldmethod = "expr" +opt.foldlevelstart = 99 +opt.foldexpr = "nvim_treesitter#foldexpr()" + +return opt diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index 042ce828..45dc7cc5 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -22,7 +22,16 @@ return require('packer').startup(function(use) use 'folke/lua-dev.nvim' use 'tpope/vim-surround' use 'tpope/vim-repeat' - use 'folke/tokyonight.nvim' + use { 'folke/tokyonight.nvim', + config = function() + require("tokyonight").setup({ + transparent = true, -- Enable this to disable setting the background color + terminal_colors = true, -- Configure the colors used when opening a `:terminal` in Neovim + dim_inactive = true, -- dims inactive windows + lualine_bold = true, -- When `true`, section headers in the lualine theme will be bold + }) + end, + } use 'vimwiki/vimwiki' use { 'nvim-treesitter/nvim-treesitter', run = ':TSUpdate'