From 434f0244866e431fb39845cf6690c749cc924385 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 30 Nov 2022 14:45:22 +0000 Subject: [PATCH] Add neovide config --- init.lua | 5 +++++ lua/neovide.lua | 8 ++++++++ 2 files changed, 13 insertions(+) create mode 100644 lua/neovide.lua diff --git a/init.lua b/init.lua index 2ba022a2..72a4347b 100644 --- a/init.lua +++ b/init.lua @@ -9,3 +9,8 @@ require 'keymaps' -- Remaining vim commands to be converted to lua require 'vimcommands' + +-- Neovide specific config, only used if Neovide is runnning +if vim.g.neovide then + require 'neovide' +end diff --git a/lua/neovide.lua b/lua/neovide.lua new file mode 100644 index 00000000..5a023425 --- /dev/null +++ b/lua/neovide.lua @@ -0,0 +1,8 @@ +-- Neovide options +vim.g.neovide_transparency = 0.95 +vim.g.neovide_confirm_quit = true +vim.g.neovide_fullscreen = false +vim.g.neovide_remember_window_size = false +vim.g.neovide_cursor_animation_length = 0.0 +-- vim.g.neovide_cursor_trail_size = 0.8 +vim.g.neovide_cursor_antialiasing = true