From 644993a89e8be251c10f4d2b1bb761301f4545b1 Mon Sep 17 00:00:00 2001 From: jdhao Date: Fri, 7 Apr 2023 22:42:24 +0200 Subject: bump to nvim version 0.9.0 (#188) --- core/globals.lua | 2 +- core/options.vim | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'core') diff --git a/core/globals.lua b/core/globals.lua index 8989c89..b0af26e 100644 --- a/core/globals.lua +++ b/core/globals.lua @@ -5,7 +5,7 @@ local utils = require('utils') -- Inspect something function _G.inspect(item) - vim.pretty_print(item) + vim.print(item) end ------------------------------------------------------------------------ diff --git a/core/options.vim b/core/options.vim index c798165..635888a 100644 --- a/core/options.vim +++ b/core/options.vim @@ -3,10 +3,6 @@ scriptencoding utf-8 " change fillchars for folding, vertical split, end of buffer, and message separator set fillchars=fold:\ ,vert:\│,eob:\ ,msgsep:‾ -" Paste mode toggle, it seems that Nvim's bracketed paste mode -" does not work very well for nvim-qt, so we use good-old paste mode -set pastetoggle= - " Split window below/right when creating horizontal/vertical windows set splitbelow splitright @@ -176,6 +172,7 @@ set diffopt+=filler " show filler for deleted lines set diffopt+=closeoff " turn off diff when one file window is closed set diffopt+=context:3 " context for diff set diffopt+=internal,indent-heuristic,algorithm:histogram +set diffopt+=linematch:60 set nowrap " do no wrap set noruler -- cgit v1.2.3