From f9bf77ddd5d6d78c37391696e05ba6e7d0c9830f Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Fri, 28 Oct 2022 23:40:12 +0200 Subject: [PATCH] fix: return lines in stylize_markdown --- lua/noice/lsp/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/noice/lsp/init.lua b/lua/noice/lsp/init.lua index 92c7e39..15c931b 100644 --- a/lua/noice/lsp/init.lua +++ b/lua/noice/lsp/init.lua @@ -98,6 +98,7 @@ function M.setup() vim.bo[buf].syntax = "markdown" end end + return vim.api.nvim_buf_get_lines(buf, 0, -1, false) end end end