aboutsummaryrefslogtreecommitdiff
path: root/config/nvim/lua
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2022-08-13 16:22:56 +0200
committerCharles Cabergs <me@cacharle.xyz>2022-08-13 16:22:56 +0200
commit51a15d298c69fb50c39913877d6933a4885cb1f7 (patch)
treef3e36abd2bb2b3fb95dd8bcde16a8e52131b82d7 /config/nvim/lua
parent4bfc180939d86c181da6e258c813344cf0a21f6d (diff)
downloaddotfiles-51a15d298c69fb50c39913877d6933a4885cb1f7.tar.gz
dotfiles-51a15d298c69fb50c39913877d6933a4885cb1f7.tar.bz2
dotfiles-51a15d298c69fb50c39913877d6933a4885cb1f7.zip
Updated nvim theme to gruvbox
Diffstat (limited to 'config/nvim/lua')
-rw-r--r--config/nvim/lua/plugins.lua53
1 files changed, 29 insertions, 24 deletions
diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua
index ddfd50f..6eae912 100644
--- a/config/nvim/lua/plugins.lua
+++ b/config/nvim/lua/plugins.lua
@@ -257,7 +257,6 @@ return require("packer").startup(function()
end
}
-
-- comment text objects
use {
"numToStr/Comment.nvim",
@@ -265,34 +264,37 @@ return require("packer").startup(function()
require("Comment").setup()
end
}
+
-- gruvbox color scheme
- -- use {
- -- "ellisonleao/gruvbox.nvim",
- -- requires = {"rktjmp/lush.nvim"},
- -- config = function()
- -- vim.opt.termguicolors = true
- -- vim.opt.background = "dark"
- -- -- vim.cmd [[ colorscheme gruvbox ]]
- -- vim.g.gruvbox_italic = 1
- -- vim.g.gruvbox_bold = 1
- -- vim.g.gruvbox_termcolors = 256
- -- vim.g.gruvbox_contrast_dark = "medium"
- -- vim.g.gruvbox_contrast_light = "hard"
- -- vim.g.gruvbox_invert_selection = 0
- -- end
- -- }
- -- nord color scheme
use {
- "shaunsingh/nord.nvim",
+ "ellisonleao/gruvbox.nvim",
+ requires = {"rktjmp/lush.nvim"},
config = function()
vim.opt.termguicolors = true
vim.opt.background = "dark"
- vim.cmd [[ colorscheme nord ]]
- vim.g.nord_contrast = true
- vim.g.nord_borders = true
- vim.g.nord_italic = true
+ vim.cmd [[ colorscheme gruvbox ]]
+ vim.g.gruvbox_italic = 1
+ vim.g.gruvbox_bold = 1
+ vim.g.gruvbox_termcolors = 256
+ vim.g.gruvbox_contrast_dark = "medium"
+ vim.g.gruvbox_contrast_light = "hard"
+ vim.g.gruvbox_invert_selection = 0
end
}
+
+ -- nord color scheme
+ -- use {
+ -- "shaunsingh/nord.nvim",
+ -- config = function()
+ -- vim.opt.termguicolors = true
+ -- vim.opt.background = "dark"
+ -- vim.cmd [[ colorscheme nord ]]
+ -- vim.g.nord_contrast = true
+ -- vim.g.nord_borders = true
+ -- vim.g.nord_italic = true
+ -- end
+ -- }
+
-- status line
use {
"nvim-lualine/lualine.nvim",
@@ -300,8 +302,8 @@ return require("packer").startup(function()
config = function()
require("lualine").setup {
options = {
- -- theme = "gruvbox",
- theme = "nord",
+ theme = "gruvbox",
+ -- theme = "nord",
icons_enabled = true,
section_separators = '',
component_separators = '',
@@ -309,6 +311,7 @@ return require("packer").startup(function()
}
end
}
+
-- better syntax highlight for everything
use {
"nvim-treesitter/nvim-treesitter",
@@ -333,6 +336,7 @@ return require("packer").startup(function()
vim.cmd [[ highlight link pythonTSKeywordOperator Keyword ]]
end
}
+
-- fuzzy finder (replace fzf.vim or ctrlp.vim)
use {
"nvim-telescope/telescope.nvim",
@@ -369,6 +373,7 @@ return require("packer").startup(function()
end
}
+
-- todos,fix,etc.. highlight and list
use {
"folke/todo-comments.nvim",