|
|
|
@ -205,6 +205,7 @@ require("lazy").setup({
|
|
|
|
|
},
|
|
|
|
|
"christoomey/vim-tmux-navigator",
|
|
|
|
|
"kana/vim-textobj-user",
|
|
|
|
|
"mechatroner/rainbow_csv",
|
|
|
|
|
{
|
|
|
|
|
"GCBallesteros/vim-textobj-hydrogen",
|
|
|
|
|
dependencies = {
|
|
|
|
@ -270,6 +271,7 @@ require("lazy").setup({
|
|
|
|
|
repl_open_cmd = "horizontal bot 20 split"
|
|
|
|
|
end,
|
|
|
|
|
},
|
|
|
|
|
"norcalli/nvim-colorizer.lua",
|
|
|
|
|
"ixru/nvim-markdown",
|
|
|
|
|
"KeitaNakamura/tex-conceal.vim",
|
|
|
|
|
"christoomey/vim-tmux-navigator",
|
|
|
|
@ -555,7 +557,6 @@ require("lazy").setup({
|
|
|
|
|
"stylua", -- Used to format lua code
|
|
|
|
|
"black",
|
|
|
|
|
"clang-format",
|
|
|
|
|
"ormolu",
|
|
|
|
|
"beautysh",
|
|
|
|
|
"latexindent",
|
|
|
|
|
"prettier",
|
|
|
|
@ -767,12 +768,14 @@ require("lazy").setup({
|
|
|
|
|
-- 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`
|
|
|
|
|
"morhetz/gruvbox",
|
|
|
|
|
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
|
|
|
|
|
--"morhetz/gruvbox",
|
|
|
|
|
"zenbones-theme/zenbones.nvim",
|
|
|
|
|
dependencies = "rktjmp/lush.nvim",
|
|
|
|
|
config = function()
|
|
|
|
|
-- Load the colorscheme here
|
|
|
|
|
vim.cmd.colorscheme("gruvbox")
|
|
|
|
|
vim.cmd.colorscheme("zenwritten")
|
|
|
|
|
end,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
@ -838,6 +841,8 @@ require("lazy").setup({
|
|
|
|
|
},
|
|
|
|
|
"airblade/vim-gitgutter",
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
require("colorizer").setup()
|
|
|
|
|
--Set rustfmt command
|
|
|
|
|
vim.g["rustfmt_command"] = "rustfmt +nightly"
|
|
|
|
|
--Disable semantic highlights
|
|
|
|
@ -888,3 +893,12 @@ vim.api.nvim_create_user_command("FormatEnable", function()
|
|
|
|
|
end, {
|
|
|
|
|
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
|
|
|
|
|