2021-12-23 03:06:29 +00:00
|
|
|
-- Interface settings
|
|
|
|
-- Set preferred colour scheme here; it will be substituted below
|
2022-05-28 17:21:16 +00:00
|
|
|
local colours = "sourcerer"
|
2021-12-23 03:06:29 +00:00
|
|
|
|
|
|
|
-- 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 = "dark"
|
|
|
|
vim.cmd("syntax on")
|
|
|
|
vim.cmd(string.gsub("colorscheme ", "$", colours))
|