Hide incline if it is on the current cursos line

This commit is contained in:
Martin Larsson 2024-04-17 11:00:59 +02:00
parent 5635d9d19d
commit fd1d383b61

View file

@ -10,6 +10,9 @@ return {
window = {
padding = 0,
},
hide = {
cursorline = true,
},
render = function(props)
local filename = vim.fn.fnamemodify(vim.api.nvim_buf_get_name(props.buf), ":t")
if filename == "" then