From 0e59b2b987d3c627b5585b1d9b20b840b295f05c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Mon, 11 Mar 2024 01:11:49 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(nvim):=20add=20smoothscrolling?= =?UTF-8?q?=20to=20the=20options=20if=20nvim=20nightly=20is=20present?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/nvim/lua/config/options.lua | 5 +++++ .config/nvim/spell/en.utf-8.add | 1 + .config/nvim/spell/en.utf-8.add.spl | Bin 118 -> 142 bytes 3 files changed, 6 insertions(+) diff --git a/.config/nvim/lua/config/options.lua b/.config/nvim/lua/config/options.lua index 87b02832..1b89d5bb 100644 --- a/.config/nvim/lua/config/options.lua +++ b/.config/nvim/lua/config/options.lua @@ -42,3 +42,8 @@ o.spell = true -- Backspacing and indentation when wrapping o.backspace = { "start", "eol", "indent" } o.breakindent = true + +-- Smoothscroll +if vim.fn.has("nvim-0.10") == 1 then + o.smoothscroll = true +end diff --git a/.config/nvim/spell/en.utf-8.add b/.config/nvim/spell/en.utf-8.add index ca2db760..4c2b6f33 100644 --- a/.config/nvim/spell/en.utf-8.add +++ b/.config/nvim/spell/en.utf-8.add @@ -3,3 +3,4 @@ EditorConfig cmd dir stylua +Smoothscroll diff --git a/.config/nvim/spell/en.utf-8.add.spl b/.config/nvim/spell/en.utf-8.add.spl index 062c22f1fdfac79392f1f2a18f9b191749b7aa41..9f126f9b5123602fe49e974efbbf600dfe6735d1 100644 GIT binary patch delta 51 zcmXTxW8@3-^erw(&B-zP&%nUoKatN|iYd2*F&_v^7&91)8Iu`{fb1L~WMZ1=t`7ik Cj||cP delta 27 icmeBUEaMCF^erw(&B-zP&%nT7F_F)liLqp2ygmSRLkIN$