mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-14 19:34:40 +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
2
init.lua
2
init.lua
|
@ -2,8 +2,6 @@ require('default-config')
|
|||
vim.cmd('luafile ' .. CONFIG_PATH .. '/lv-config.lua')
|
||||
require('settings')
|
||||
require('plugins')
|
||||
vim.g.colors_name = O.colorscheme
|
||||
vim.g.syntax = true
|
||||
require('lv-utils')
|
||||
require('keymappings')
|
||||
require('lv-galaxyline')
|
||||
|
|
|
@ -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