Reformat
This commit is contained in:
parent
b17f2703fb
commit
ac044d172c
5 changed files with 31 additions and 28 deletions
4
init.lua
4
init.lua
|
|
@ -36,7 +36,7 @@ g.mapleader = ","
|
|||
-- opt.fillchars = { eob = "~" }
|
||||
opt.scrolloff = 4
|
||||
opt.spelllang = "fr"
|
||||
opt.colorcolumn = {100}
|
||||
opt.colorcolumn = { 100 }
|
||||
opt.textwidth = 100
|
||||
opt.timeoutlen = 1000
|
||||
opt.breakindent = true
|
||||
|
|
@ -53,7 +53,7 @@ require("lazy").setup(plugins)
|
|||
vim.cmd.colorscheme "catppuccin"
|
||||
|
||||
-- if $XDG_STATE_HOME/darkmode exists, set dark background, light other wise
|
||||
local path = ( vim.fn.getenv("XDG_STATE_HOME") or "~/.local/state" ) .. "/darkmode"
|
||||
local path = (vim.fn.getenv("XDG_STATE_HOME") or "~/.local/state") .. "/darkmode"
|
||||
if vim.fn.filereadable(path) == 1 then
|
||||
opt.background = "dark"
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue