summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNanderty <psopka@sopka.ch>2023-05-21 10:32:46 +0200
committerNanderty <psopka@sopka.ch>2023-05-21 10:32:46 +0200
commitfbeb851a8099c9d98de63e643fd3b8fedf15f883 (patch)
tree28df7676a1143142819d5b7731fce2baa33a1006
parent8364b4a80fc918ca997112192f609e8db6072b7a (diff)
downloadneovim-config-fbeb851a8099c9d98de63e643fd3b8fedf15f883.tar.gz
neovim-config-fbeb851a8099c9d98de63e643fd3b8fedf15f883.tar.bz2
neovim-config-fbeb851a8099c9d98de63e643fd3b8fedf15f883.zip
gui fixes
-rw-r--r--lua/config/options.lua4
-rw-r--r--lua/plugins/lsp.lua3
2 files changed, 5 insertions, 2 deletions
diff --git a/lua/config/options.lua b/lua/config/options.lua
index 77ccaf1..5e39088 100644
--- a/lua/config/options.lua
+++ b/lua/config/options.lua
@@ -19,10 +19,12 @@ return {
vim.opt.undolevels = 1000
vim.opt.relativenumber = true
- vim.opt.cmdheight = 0
vim.opt.fillchars = 'eob: '
vim.opt.fillchars = 'fold: '
vim.opt.fillchars = 'vert: '
+ vim.opt.cmdheight = 0
+ vim.cmd [[ autocmd RecordingEnter * set cmdheight=1 ]]
+ vim.cmd [[ autocmd RecordingLeave * set cmdheight=0 ]]
vim.opt.showmode = false
vim.opt.smartindent = true
diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua
index 6ad37c3..31c570b 100644
--- a/lua/plugins/lsp.lua
+++ b/lua/plugins/lsp.lua
@@ -41,9 +41,10 @@ return {
buffer = bufnr,
callback = function()
local opts = {
+ pad_top = 1,
+ pad_bottom = 1,
header = '',
source = 'always',
- border = {{' '},{' '},{' '},{' '}},
focusable = false,
close_events = { "BufLeave", "CursorMoved", "InsertEnter", },
prefix = ' ',