diff options
author | listout <listout@protonmail.com> | 2022-08-25 01:14:33 +0530 |
---|---|---|
committer | listout <listout@protonmail.com> | 2022-09-01 16:26:42 +0530 |
commit | dd31843246ccdf9783f1b54d79b5e1ee22596399 (patch) | |
tree | 9b0f42dbe44fd0dd79d8de963092daf04671e6d9 /lua/core | |
parent | f07108dca88d47eeae67587011994c6179a7d035 (diff) |
[wip] better lua config for nvim
Signed-off-by: listout <listout@protonmail.com>
Diffstat (limited to 'lua/core')
-rw-r--r-- | lua/core/appearance.lua | 2 | ||||
-rw-r--r-- | lua/core/colorscheme.lua | 6 | ||||
-rw-r--r-- | lua/core/options.lua | 1 |
3 files changed, 3 insertions, 6 deletions
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 |