16 lines
441 B
Lua
16 lines
441 B
Lua
-- Interface settings
|
|
-- Set preferred colour scheme/background colour here; it will be substituted below
|
|
local colours = "sourcerer"
|
|
|
|
-- Show line numbers
|
|
vim.wo.number = true
|
|
|
|
-- Colour scheme settings
|
|
-- Use terminal-safe colours on the Linux terminal,
|
|
-- but true-colour otherwise
|
|
vim.o.termguicolors = (os.getenv("TERM") ~= "linux")
|
|
|
|
vim.o.background = background
|
|
vim.cmd("syntax on")
|
|
vim.cmd(string.gsub("colorscheme ", "$", colours))
|