We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2b600d9 + 308427d commit 21fb838Copy full SHA for 21fb838
lua/hlchunk/mods/chunk/init.lua
@@ -188,7 +188,7 @@ function ChunkMod:createAutocmd()
188
self:clear(Scope(bufnr, 0, api.nvim_buf_line_count(bufnr)))
189
self:updatePreState({}, {}, {}, false)
190
elseif ret_code == CHUNK_RANGE_RET.CHUNK_ERR then
191
- self:render(range, { error = true })
+ self:render(range, { error = self.conf.error_sign })
192
elseif ret_code == CHUNK_RANGE_RET.NO_TS then
193
self:notify("[hlchunk.chunk]: no parser for " .. vim.bo[bufnr].ft, nil, { once = true })
194
end
0 commit comments