mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-11-12 20:23:50 +00:00
optional neovide config
This commit is contained in:
parent
2e370c9c78
commit
7d2974684e
@ -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,
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user