|
|
@ -205,7 +205,6 @@ 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 = {
|
|
|
@ -271,7 +270,6 @@ 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",
|
|
|
@ -557,6 +555,7 @@ 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",
|
|
|
@ -768,14 +767,12 @@ 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("zenwritten")
|
|
|
|
vim.cmd.colorscheme("gruvbox")
|
|
|
|
end,
|
|
|
|
end,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
@ -841,8 +838,6 @@ 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
|
|
|
@ -893,12 +888,3 @@ 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
|
|
|
|
|
|
|
|