From 08246fe12670ee4d4cb01e22844cc4fe0351206b Mon Sep 17 00:00:00 2001
From: Jens Nolte <git@queezle.net>
Date: Thu, 29 Oct 2020 17:31:50 +0100
Subject: [PATCH] Update neovim config

---
 pkgs/neovim/default.nix | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/pkgs/neovim/default.nix b/pkgs/neovim/default.nix
index ca2de7a..1f282e9 100644
--- a/pkgs/neovim/default.nix
+++ b/pkgs/neovim/default.nix
@@ -11,6 +11,7 @@ pkgs.neovim.override {
 
       " Configure colorscheme
       let g:gruvbox_contrast_dark='hard'
+      let g:gruvbox_contrast_light='hard'
       colorscheme gruvbox
       "hi ColorMagenta guifg='#f92672' guibg=132 guibg='NONE' ctermbg='NONE' gui='NONE' cterm='NONE'
       "hi! link haskellOperators ColorMagenta
@@ -46,6 +47,9 @@ pkgs.neovim.override {
       " I want to use clipboard=autoselect, when it is implemented: https://github.com/neovim/neovim/pull/3708
       set clipboard=unnamed
 
+      " Wrap at word boundaries instead of splitting words at the end of the line.
+      set linebreak
+
       " Shows the effects of a command incrementally, as you type. Also shows partial off-screen results in a preview window.
       set inccommand=split
 
-- 
GitLab