Compare commits

...

4 Commits

@ -205,6 +205,7 @@ require("lazy").setup({
}, },
"christoomey/vim-tmux-navigator", "christoomey/vim-tmux-navigator",
"kana/vim-textobj-user", "kana/vim-textobj-user",
"mechatroner/rainbow_csv",
{ {
"GCBallesteros/vim-textobj-hydrogen", "GCBallesteros/vim-textobj-hydrogen",
dependencies = { dependencies = {
@ -270,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",
@ -555,7 +557,6 @@ require("lazy").setup({
"stylua", -- Used to format lua code "stylua", -- Used to format lua code
"black", "black",
"clang-format", "clang-format",
"ormolu",
"beautysh", "beautysh",
"latexindent", "latexindent",
"prettier", "prettier",
@ -767,12 +768,14 @@ require("lazy").setup({
-- change the command in the config to whatever the name of that colorscheme is -- change the command in the config to whatever the name of that colorscheme is
-- --
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme` -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`
"morhetz/gruvbox",
lazy = false, -- make sure we load this during startup if it is your main colorscheme lazy = false, -- make sure we load this during startup if it is your main colorscheme
priority = 1000, -- make sure to load this before all the other start plugins priority = 1000, -- make sure to load this before all the other start plugins
--"morhetz/gruvbox",
"zenbones-theme/zenbones.nvim",
dependencies = "rktjmp/lush.nvim",
config = function() config = function()
-- Load the colorscheme here -- Load the colorscheme here
vim.cmd.colorscheme("gruvbox") vim.cmd.colorscheme("zenwritten")
end, end,
}, },
@ -838,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
@ -888,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