fix: termopen previewer for powershell (#382)

This commit is contained in:
Simon Hauser
2021-01-03 20:27:23 +01:00
committed by GitHub
parent 88ebcaab10
commit 4691863f43
2 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -532,7 +532,7 @@ function make_entry.gen_from_treesitter(opts)
local make_display = function(entry)
local msg = vim.api.nvim_buf_get_lines(
bufnr,
entry.lnum - 1,
entry.lnum,
entry.lnum,
false
)[1] or ''