nvim: add plugin. fix mycolor

This commit is contained in:
Mathieu Maret 2024-06-03 22:55:18 +02:00
parent 8fd349f506
commit 2fbd8207eb

View File

@ -55,7 +55,6 @@ require("lazy").setup({
priority = 1000, priority = 1000,
opts = {}, opts = {},
}, },
"tpope/vim-sleuth", -- Detect tabstop and shiftwidth automatically
{ -- Useful plugin to show you pending keybinds. { -- Useful plugin to show you pending keybinds.
"folke/which-key.nvim", "folke/which-key.nvim",
event = "VimEnter", -- Sets the loading event to 'VimEnter' event = "VimEnter", -- Sets the loading event to 'VimEnter'
@ -98,6 +97,7 @@ require("lazy").setup({
"tpope/vim-surround", "tpope/vim-surround",
"rhysd/vim-grammarous", "rhysd/vim-grammarous",
"liuchengxu/vista.vim", "liuchengxu/vista.vim",
"mhinz/vim-startify",
"https://git.mathux.org/mathieu/taglist.git", "https://git.mathux.org/mathieu/taglist.git",
-- Highlight todo, notes, etc in comments -- Highlight todo, notes, etc in comments
{ {
@ -127,6 +127,7 @@ require("lazy").setup({
"git_config", "git_config",
"gitcommit", "gitcommit",
"make", "make",
"markdown",
"nasm", "nasm",
}, },
sync_install = false, sync_install = false,
@ -642,6 +643,10 @@ require("lazy").setup({
}) })
end, end,
}, },
"tpope/vim-sleuth", -- Detect tabstop and shiftwidth automatically
-- "gc" to comment visual regions/lines
{ "numToStr/Comment.nvim", opts = {} },
"vim-scripts/a.vim",
}) })
require("gen").prompts["Generate_Doxygen"] = { require("gen").prompts["Generate_Doxygen"] = {
@ -653,6 +658,9 @@ require("gen").prompts["Generate_Doxygen"] = {
if vim.fn.has("gui_running") == 1 then if vim.fn.has("gui_running") == 1 then
vim.cmd("colorscheme darkblue") vim.cmd("colorscheme darkblue")
else else
-- vim.opt.termguicolors=false
-- vim.cmd("colorscheme mycolor")
vim.cmd("colorscheme kanagawa-wave") vim.cmd("colorscheme kanagawa-wave")
end end
vim.opt.runtimepath:append("~/.vim/bundle/Vundle.vim/") vim.opt.runtimepath:append("~/.vim/bundle/Vundle.vim/")