summaryrefslogtreecommitdiff
path: root/lua/settings.lua
diff options
context:
space:
mode:
authorrebuilt <[email protected]>2021-07-08 23:12:48 +0200
committerGitHub <[email protected]>2021-07-08 17:12:48 -0400
commit4f372bb3b77f5bc60aa14fdaf2b9687414fc981a (patch)
treee047f690cc2cac49126908912bac8c7e1db78907 /lua/settings.lua
parent10755d3d4ebf67e37f59a38d5bab944a7ec95594 (diff)
call colorschemes only after they get installed (#798)
Diffstat (limited to 'lua/settings.lua')
-rw-r--r--lua/settings.lua10
1 files changed, 3 insertions, 7 deletions
diff --git a/lua/settings.lua b/lua/settings.lua
index 044708b9..78e9e777 100644
--- a/lua/settings.lua
+++ b/lua/settings.lua
@@ -11,21 +11,17 @@ cmd "set inccommand=split"
cmd "set iskeyword+=-"
cmd "set whichwrap+=<,>,[,],h,l"
if O.transparent_window then
- cmd "au ColorScheme * hi Normal ctermbg=none guibg=none"
- cmd "au ColorScheme * hi SignColumn ctermbg=none guibg=none"
+ cmd "au ColorScheme * hi Normal ctermbg=none guibg=none"
+ cmd "au ColorScheme * hi SignColumn ctermbg=none guibg=none"
end
---- COLORSCHEME ---
-
-vim.g.colors_name = O.colorscheme
-
--- SETTINGS ---
opt.backup = false -- creates a backup file
opt.clipboard = O.clipboard -- allows neovim to access the system clipboard
opt.cmdheight = O.cmdheight -- more space in the neovim command line for displaying messages
opt.colorcolumn = "99999" -- fix indentline for now
-opt.completeopt = { "menuone", "noselect" }
+opt.completeopt = {"menuone", "noselect"}
opt.conceallevel = 0 -- so that `` is visible in markdown files
opt.fileencoding = "utf-8" -- the encoding written to a file
opt.guifont = "monospace:h17" -- the font used in graphical neovim applications