From 2850aa29c253f7a88a07045fe1039380fb315b8a Mon Sep 17 00:00:00 2001 From: serxoz Date: Mon, 6 Mar 2023 13:31:37 +0100 Subject: [PATCH] =?UTF-8?q?limpeza=20=C3=B3=20desinstalar=20e=20cambio=20d?= =?UTF-8?q?e=20modulo=20para=20o=20gruvbox?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nvim/after/plugin/colors.lua | 4 ++-- nvim/clean.sh | 2 ++ nvim/install.sh | 5 +++++ nvim/lua/serxoz/packer.lua | 8 +------- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/nvim/after/plugin/colors.lua b/nvim/after/plugin/colors.lua index b90577d..8d72266 100644 --- a/nvim/after/plugin/colors.lua +++ b/nvim/after/plugin/colors.lua @@ -1,6 +1,6 @@ require("gruvbox").setup({ - gruvbox_contrast_dark = 'hard', - gruvbox_invert_selection = '0', + invert_selection = true, + contrast = "hard", -- can be "hard", "soft" or empty string }) function ColorMyPencils(color) diff --git a/nvim/clean.sh b/nvim/clean.sh index 28cf193..101a68e 100644 --- a/nvim/clean.sh +++ b/nvim/clean.sh @@ -1,3 +1,5 @@ #!/bin/sh +rm -rf ~/.local/share/nvim +rm -rf ~/.cache/nvim rm ~/.config/nvim diff --git a/nvim/install.sh b/nvim/install.sh index 0581f38..139d296 100644 --- a/nvim/install.sh +++ b/nvim/install.sh @@ -1,5 +1,10 @@ #!/bin/sh +rm -rf ~/.local/share/nvim +rm -rf ~/.cache/nvim rm ~/.config/nvim +git clone --depth 1 https://github.com/wbthomason/packer.nvim\ + ~/.local/share/nvim/site/pack/packer/start/packer.nvim + ln -s $HOME/dotfiles/nvim $HOME/.config/. diff --git a/nvim/lua/serxoz/packer.lua b/nvim/lua/serxoz/packer.lua index e05ac15..51f8419 100644 --- a/nvim/lua/serxoz/packer.lua +++ b/nvim/lua/serxoz/packer.lua @@ -13,13 +13,7 @@ return require('packer').startup(function(use) requires = { {'nvim-lua/plenary.nvim'} } } - use({ - 'gruvbox-community/gruvbox', - as = 'gruvbox', - config = function() - vim.cmd('colorscheme gruvbox') - end - }) + use("ellisonleao/gruvbox.nvim") use({ "folke/trouble.nvim",