summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2023-12-29 18:18:03 +0100
committerJoe <rbo@gmx.us>2023-12-29 18:18:03 +0100
commit218e52f489b85f314f12febdf722aef01186bf76 (patch)
tree3a8dffd5b0d1f79bc08905445eca3b784f9381a2 /.config
parentup (diff)
downloaddotfiles-bsd-218e52f489b85f314f12febdf722aef01186bf76.tar.gz
dotfiles-bsd-218e52f489b85f314f12febdf722aef01186bf76.tar.bz2
dotfiles-bsd-218e52f489b85f314f12febdf722aef01186bf76.tar.xz
dotfiles-bsd-218e52f489b85f314f12febdf722aef01186bf76.tar.zst
dotfiles-bsd-218e52f489b85f314f12febdf722aef01186bf76.zip
up
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/lua/settings.lua9
1 files changed, 7 insertions, 2 deletions
diff --git a/.config/nvim/lua/settings.lua b/.config/nvim/lua/settings.lua
index 6deddff..4b7e980 100644
--- a/.config/nvim/lua/settings.lua
+++ b/.config/nvim/lua/settings.lua
@@ -1,7 +1,6 @@
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
vim.opt.autochdir = false
-vim.opt.bg = 'dark'
vim.opt.cindent = true
vim.cmd [[
set cinoptions=>s,e0,n0,f0,{0,}0,^0,L-1,:s,=s,l1,b0,gs,h0,N0,E0,p0,t0,i0,+s
@@ -14,7 +13,6 @@ vim.opt.completeopt = 'menuone,noinsert,noselect,preview'
vim.opt.cursorline = true
vim.opt.encoding = 'utf-8'
-- vim.opt.go = 'a'
-vim.opt.termguicolors = true
vim.opt.hidden = true
vim.opt.makeprg = 'make'
vim.opt.mouse = 'a'
@@ -40,6 +38,11 @@ vim.opt.signcolumn = "yes"
vim.o.ignorecase = true
vim.o.smartcase = true
vim.opt.wrap = true
+vim.opt.termguicolors = true
+vim.opt.bg = 'dark'
+vim.g.gruvbox_material_background = 'medium'
+vim.g.gruvbox_material_foreground = 'mix'
+vim.g.gruvbox_material_better_performance = 1
vim.cmd [[
syntax on
colorscheme gruvbox-material
@@ -48,6 +51,8 @@ highlight Normal ctermbg=none guibg=none
highlight NonText ctermbg=none guibg=none
highlight LineNr ctermbg=none guibg=none
highlight EndOfBuffer ctermbg=none guibg=none
+highlight DiagnosticVirtualTextError guifg='#f25942'
+highlight DiagnosticVirtualTextWarn guifg='#e9b143'
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
]]
vim.g.mapleader = '\\'