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",