From dd31843246ccdf9783f1b54d79b5e1ee22596399 Mon Sep 17 00:00:00 2001 From: listout Date: Thu, 25 Aug 2022 01:14:33 +0530 Subject: [wip] better lua config for nvim Signed-off-by: listout --- lua/core/appearance.lua | 2 +- lua/core/colorscheme.lua | 6 +----- lua/core/options.lua | 1 + 3 files changed, 3 insertions(+), 6 deletions(-) (limited to 'lua/core') diff --git a/lua/core/appearance.lua b/lua/core/appearance.lua index 452c4b9..a1ff443 100644 --- a/lua/core/appearance.lua +++ b/lua/core/appearance.lua @@ -12,7 +12,7 @@ opt.splitbelow = true -- Horizontal split to the bottom opt.ignorecase = true -- Ignore case letters when search opt.smartcase = true -- Ignore lowercase for the whole pattern opt.linebreak = true -- Wrap on word boundary -opt.termguicolors = true -- Enable 24-bit RGB colors +opt.termguicolors = false -- Enable 24-bit RGB colors opt.laststatus = 2 -- Set global statusline opt.splitbelow = true opt.splitright = true diff --git a/lua/core/colorscheme.lua b/lua/core/colorscheme.lua index 209fde3..7c8fbb6 100644 --- a/lua/core/colorscheme.lua +++ b/lua/core/colorscheme.lua @@ -1,7 +1,3 @@ -- Config in lua -vim.g.tokyonight_style = "storm" -vim.g.tokyonight_italic_functions = 1 -vim.g.tokyonight_sidebars = {"packer", "qf", " vista_kind", "terminal"} - -- Load the colorscheme -vim.cmd[[colorscheme tokyonight]] +vim.cmd[[colorscheme substrata]] diff --git a/lua/core/options.lua b/lua/core/options.lua index 12609e3..3d5855f 100644 --- a/lua/core/options.lua +++ b/lua/core/options.lua @@ -29,6 +29,7 @@ opt.hlsearch = false -- No highlight search opt.incsearch = true opt.ignorecase = true opt.backspace = 'indent,eol,start' +--opt.autochdir = true ----------------------------------------------------------- -- Tabs, indent -- cgit v1.2.3