Skip to content

How to make sure that those info provided by view = 'mini' won't be truncated? #273

Answered by nyngwang
nyngwang asked this question in Q&A
Discussion options

You must be logged in to vote

I just found that this is caused by one of my autocmd to prevent the signcolumn to disappear by some plugin.

vim.api.nvim_create_autocmd({ 'BufWinEnter' }, {
  group = curfile_augroup,
  pattern = '*',
  callback = function ()
    vim.api.nvim_win_set_option(0, 'winhl', '')
    -- vim.opt.signcolumn = 'yes' -- comment out this line fix the problem!
  end,
})

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@nyngwang
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by nyngwang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants