diff --git a/lua/custom/plugins/neoscroll.lua b/lua/custom/plugins/neoscroll.lua index 13d210b..61b9ac7 100644 --- a/lua/custom/plugins/neoscroll.lua +++ b/lua/custom/plugins/neoscroll.lua @@ -1,6 +1,7 @@ -- Smooth scroll plugin and keymaps return { 'karb94/neoscroll.nvim', + enabled = not vim.g.neovide, config = function() require('neoscroll').setup { hide_cursor = false, diff --git a/lua/options.lua b/lua/options.lua index 09cf853..47b05c8 100644 --- a/lua/options.lua +++ b/lua/options.lua @@ -84,4 +84,11 @@ vim.opt.cursorline = true vim.opt.scrolloff = 8 vim.opt.sidescrolloff = 12 +-- Options specifically targeted at Neovide +if vim.g.neovide then + vim.o.guifont = 'CaskaydiaCove Nerd Font Mono:h14' + vim.g.neovide_cursor_animation_length = 0 + vim.g.neovide_cursor_trail_length = 0 +end + -- vim: ts=2 sts=2 sw=2 et