1

Refresh generated neovim config

This commit is contained in:
2024-08-15 13:01:03 +02:00
parent 64b51cf53a
commit f5af8e2b28
1836 changed files with 38979 additions and 31094 deletions

View File

@ -12,7 +12,7 @@ function M.noautocmd(fn)
end
function M.is_win()
return vim.uv.os_uname().sysname:find("Windows") ~= nil
return uv.os_uname().sysname:find("Windows") ~= nil
end
---@param opts? {msg?: string}
@ -43,9 +43,9 @@ function M.notify(msg, opts)
replace = opts.id and notif_ids[opts.id] or nil,
title = opts.title or "Trouble",
on_open = function(win)
vim.wo.conceallevel = 3
vim.wo.concealcursor = "n"
vim.wo.spell = false
vim.wo[win].conceallevel = 3
vim.wo[win].concealcursor = "n"
vim.wo[win].spell = false
vim.treesitter.start(vim.api.nvim_win_get_buf(win), "markdown")
end,
})
@ -269,6 +269,9 @@ function M.get_lines(opts)
for row, line in M.lines(data) do
if not opts.rows or ret[row] then
if line:sub(-1) == "\r" then
line = line:sub(1, -2)
end
todo = todo - 1
ret[row] = line
if todo == 0 then