summaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-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 = ' ',