Hide incline if it is on the current cursos line
This commit is contained in:
parent
5635d9d19d
commit
fd1d383b61
1 changed files with 3 additions and 0 deletions
|
|
@ -10,6 +10,9 @@ return {
|
||||||
window = {
|
window = {
|
||||||
padding = 0,
|
padding = 0,
|
||||||
},
|
},
|
||||||
|
hide = {
|
||||||
|
cursorline = true,
|
||||||
|
},
|
||||||
render = function(props)
|
render = function(props)
|
||||||
local filename = vim.fn.fnamemodify(vim.api.nvim_buf_get_name(props.buf), ":t")
|
local filename = vim.fn.fnamemodify(vim.api.nvim_buf_get_name(props.buf), ":t")
|
||||||
if filename == "" then
|
if filename == "" then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue