From 2fbd8207ebdfc8fdc55aea025ac7a712e44c56d8 Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Mon, 3 Jun 2024 22:55:18 +0200 Subject: [PATCH] nvim: add plugin. fix mycolor --- .config/nvim/init.lua | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index fc514ea..9139fbe 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -55,7 +55,6 @@ require("lazy").setup({ priority = 1000, opts = {}, }, - "tpope/vim-sleuth", -- Detect tabstop and shiftwidth automatically { -- Useful plugin to show you pending keybinds. "folke/which-key.nvim", event = "VimEnter", -- Sets the loading event to 'VimEnter' @@ -98,6 +97,7 @@ require("lazy").setup({ "tpope/vim-surround", "rhysd/vim-grammarous", "liuchengxu/vista.vim", + "mhinz/vim-startify", "https://git.mathux.org/mathieu/taglist.git", -- Highlight todo, notes, etc in comments { @@ -127,6 +127,7 @@ require("lazy").setup({ "git_config", "gitcommit", "make", + "markdown", "nasm", }, sync_install = false, @@ -642,6 +643,10 @@ require("lazy").setup({ }) 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"] = { @@ -653,6 +658,9 @@ require("gen").prompts["Generate_Doxygen"] = { if vim.fn.has("gui_running") == 1 then vim.cmd("colorscheme darkblue") else + -- vim.opt.termguicolors=false + -- vim.cmd("colorscheme mycolor") + vim.cmd("colorscheme kanagawa-wave") end vim.opt.runtimepath:append("~/.vim/bundle/Vundle.vim/")