From 08bf9e7354229189b6b635f63e493f7b94214fc2 Mon Sep 17 00:00:00 2001 From: "chawley (overlook)" Date: Mon, 28 Apr 2025 14:27:13 -0400 Subject: [PATCH] Added if/then to ignore directive incompatible with nvim Aiming to keep .vimrc compatible with nvim for testing. --- .vimrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index 839e2f0..b6cc73a 100644 --- a/.vimrc +++ b/.vimrc @@ -24,7 +24,9 @@ set ruler " show cursor poition set scrolloff=10 " number of lines to keep above and below the cursor set showmatch " show matching brackets when text indicator is over them set splitright " Split to right by default -set term=xterm-256color " LOTS of colors +if !has('nvim') + set term=xterm-256color " LOTS of colors +endif set wildmenu " enhanced command line completion " Text Wrapping