feat(nvim): add smoothscrolling to the options if nvim nightly is present

This commit is contained in:
Sergio Laín 2024-03-11 01:11:49 +01:00
parent 42da1ba716
commit 0e59b2b987
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
3 changed files with 6 additions and 0 deletions

View file

@ -42,3 +42,8 @@ o.spell = true
-- Backspacing and indentation when wrapping -- Backspacing and indentation when wrapping
o.backspace = { "start", "eol", "indent" } o.backspace = { "start", "eol", "indent" }
o.breakindent = true o.breakindent = true
-- Smoothscroll
if vim.fn.has("nvim-0.10") == 1 then
o.smoothscroll = true
end

View file

@ -3,3 +3,4 @@ EditorConfig
cmd cmd
dir dir
stylua stylua
Smoothscroll

Binary file not shown.