✨ feat(nvim): add smoothscrolling to the options if nvim nightly is present
This commit is contained in:
parent
42da1ba716
commit
0e59b2b987
3 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -3,3 +3,4 @@ EditorConfig
|
||||||
cmd
|
cmd
|
||||||
dir
|
dir
|
||||||
stylua
|
stylua
|
||||||
|
Smoothscroll
|
||||||
|
|
Binary file not shown.
Loading…
Add table
Reference in a new issue