Compare commits

...

2 Commits

@ -271,6 +271,7 @@ require("lazy").setup({
repl_open_cmd = "horizontal bot 20 split" repl_open_cmd = "horizontal bot 20 split"
end, end,
}, },
"norcalli/nvim-colorizer.lua",
"ixru/nvim-markdown", "ixru/nvim-markdown",
"KeitaNakamura/tex-conceal.vim", "KeitaNakamura/tex-conceal.vim",
"christoomey/vim-tmux-navigator", "christoomey/vim-tmux-navigator",
@ -774,7 +775,7 @@ require("lazy").setup({
dependencies = "rktjmp/lush.nvim", dependencies = "rktjmp/lush.nvim",
config = function() config = function()
-- Load the colorscheme here -- Load the colorscheme here
vim.cmd.colorscheme("zenbones") vim.cmd.colorscheme("zenwritten")
end, end,
}, },
@ -840,6 +841,8 @@ require("lazy").setup({
}, },
"airblade/vim-gitgutter", "airblade/vim-gitgutter",
}) })
require("colorizer").setup()
--Set rustfmt command --Set rustfmt command
vim.g["rustfmt_command"] = "rustfmt +nightly" vim.g["rustfmt_command"] = "rustfmt +nightly"
--Disable semantic highlights --Disable semantic highlights
@ -890,3 +893,12 @@ vim.api.nvim_create_user_command("FormatEnable", function()
end, { end, {
desc = "Re-enable autoformat-on-save", desc = "Re-enable autoformat-on-save",
}) })
function file_exists(name)
local f = io.open(name, "r")
return f ~= nil and io.close(f)
end
if file_exists("/home/aselimov/.config/.stlight") then
vim.opt.background = "light"
end

Loading…
Cancel
Save