diff --git a/lua/core/init.lua b/lua/core/init.lua index 3d6df8c..41efe52 100644 --- a/lua/core/init.lua +++ b/lua/core/init.lua @@ -18,7 +18,7 @@ autocmd("BufUnload", { }) -- Don't auto commenting new lines -autocmd('BufEnter', { - pattern = '*', - command = 'set fo-=c fo-=r fo-=o' +autocmd("BufEnter", { + pattern = "*", + command = "set fo-=c fo-=r fo-=o", }) diff --git a/lua/ui/lsp.lua b/lua/ui/lsp.lua index 1cbde80..17e874b 100644 --- a/lua/ui/lsp.lua +++ b/lua/ui/lsp.lua @@ -51,4 +51,7 @@ vim.lsp.handlers["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.s silent = true, focusable = false, close_events = { "InsertCharPre", "CursorMoved" }, + anchor = "SW", + relative = "cursor", + row = -1, })