mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-14 11:24:43 +02:00
move colorscheme setting to settings
This commit is contained in:
parent
79fa16ff06
commit
ec814f60c5
2 changed files with 4 additions and 5 deletions
|
@ -1,13 +1,11 @@
|
|||
--- HELPERS ---
|
||||
|
||||
|
||||
local cmd = vim.cmd
|
||||
local opt = vim.opt
|
||||
|
||||
|
||||
--- VIM ONLY COMMANDS ---
|
||||
|
||||
|
||||
cmd('filetype plugin on') -- filetype detection
|
||||
cmd('let &titleold="'..TERMINAL..'"')
|
||||
cmd('set inccommand=split') -- show what you are substituting in real time
|
||||
|
@ -17,8 +15,11 @@ if O.transparent_window then
|
|||
cmd('au ColorScheme * hi Normal ctermbg=none guibg=none')
|
||||
end
|
||||
|
||||
--- SETTINGS ---
|
||||
--- COLORSCHEME ---
|
||||
|
||||
vim.g.colors_name = O.colorscheme
|
||||
|
||||
--- SETTINGS ---
|
||||
|
||||
opt.backup = false -- creates a backup file
|
||||
opt.clipboard = "unnamedplus" -- allows neovim to access the system clipboard
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue