You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.8 KiB
Plaintext

diff --git a/init.lua b/init.lua
index e1962c2..0c74521 100644
--- a/init.lua
+++ b/init.lua
@@ -2,4 +2,8 @@ require "user.options"
require "user.keymaps"
require "user.plugins"
-
+vim.cmd [[
+augroup RestoreCursorShapeOnExit
+ autocmd!
+ autocmd VimSuspend,VimLeave * set guicursor=a:ver50
+augroup END]]
diff --git a/lua/user/options.lua b/lua/user/options.lua
index 6b38e23..8f726f3 100644
--- a/lua/user/options.lua
+++ b/lua/user/options.lua
@@ -16,7 +16,7 @@ local options = {
splitbelow = true, -- force all horizontal splits to go below current window
splitright = true, -- force all vertical splits to go to the right of current window
swapfile = false, -- creates a swapfile
- -- termguicolors = true, -- set term gui colors (most terminals support this)
+ termguicolors = true, -- set term gui colors (most terminals support this)
timeoutlen = 1000, -- time to wait for a mapped sequence to complete (in milliseconds)
undofile = true, -- enable persistent undo
updatetime = 300, -- faster completion (4000ms default)
diff --git a/lua/user/plugins.lua b/lua/user/plugins.lua
index 3d4499f..5d5200b 100644
--- a/lua/user/plugins.lua
+++ b/lua/user/plugins.lua
@@ -44,6 +44,7 @@ return packer.startup(function(use)
use "wbthomason/packer.nvim" -- Have packer manage itself
use "nvim-lua/popup.nvim" -- An implementation of the Popup API from vim in Neovim
use "nvim-lua/plenary.nvim" -- Useful lua functions used ny lots of plugins
+ use {'dracula/vim', as ='dracula'}
-- Automatically set up your configuration after cloning packer.nvim
-- Put this at the end after all plugins