From 0e0928289052d294de6e954f11d6a2dc2c6eb2d5 Mon Sep 17 00:00:00 2001 From: Zynh0722 Date: Sun, 1 Oct 2023 20:27:12 -0700 Subject: [PATCH] update config --- lua/config/keymaps.lua | 14 ++++++++++++-- lua/plugins/colorscheme.lua | 3 +++ lua/plugins/lspconfig.lua | 5 +++++ 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/lua/config/keymaps.lua b/lua/config/keymaps.lua index e6db343..f9ef6f7 100644 --- a/lua/config/keymaps.lua +++ b/lua/config/keymaps.lua @@ -16,5 +16,15 @@ local function map(mode, lhs, rhs, opts) end end -map("n", "", "zz", { desc = "Centered Half Page Up", remap = true }) -map("n", "", "zz", { desc = "Centered Half Page Down", remap = true }) +map( + "n", + "", + "lua vim.cmd('normal! '); MiniAnimate.execute_after('scroll', 'normal! zz')", + { desc = "Centered Half Page Up", remap = true } +) +map( + "n", + "", + "lua vim.cmd('normal! '); MiniAnimate.execute_after('scroll', 'normal! zz')", + { desc = "Centered Half Page Down", remap = true } +) diff --git a/lua/plugins/colorscheme.lua b/lua/plugins/colorscheme.lua index 69bc808..3280676 100644 --- a/lua/plugins/colorscheme.lua +++ b/lua/plugins/colorscheme.lua @@ -10,6 +10,9 @@ return { }) end, }, + { + "nyoom-engineering/oxocarbon.nvim", + }, -- Configure LazyVim to load rose-pine { diff --git a/lua/plugins/lspconfig.lua b/lua/plugins/lspconfig.lua index 5aed9da..1356130 100644 --- a/lua/plugins/lspconfig.lua +++ b/lua/plugins/lspconfig.lua @@ -15,6 +15,11 @@ return { group = "module", }, }, + cargo = { + buildScripts = { + enable = false, + }, + }, files = { excludeDirs = { "pe-template",