nvim-treesitter/nvim-treesitter-context

Conflict with floating diagnostics

Closed this issue · 0 comments

Description

When using nvim-treesitter-context,
if a context appear at the top of the screen,
Floating diagnostics windows do not appear anymore

Neovim version

NVIM v0.11.0-dev

Expected behavior

Diagnostics windows appears, even if in a context (If necessary, make disappear the context Floating the time diagnostics windows are on)

image

Actual behavior

No diags when the context floating is a the top

Minimal config

local plugins = {
  ts         = 'https://github.com/nvim-treesitter/nvim-treesitter',
  ts_context = 'https://github.com/nvim-treesitter/nvim-treesitter-context',
  -- ADD ADDITIONAL PLUGINS THAT ARE _NECESSARY_ TO REPRODUCE THE ISSUE
}

for name, url in pairs(plugins) do
  local install_path = '/tmp/nvim/site/'..name
  if vim.fn.isdirectory(install_path) == 0 then
    vim.fn.system { 'git', 'clone', '--depth=1', url, install_path }
  end
  vim.o.runtimepath = install_path..','..vim.o.runtimepath
end

-- ADD INIT.LUA SETTINGS THAT IS _NECESSARY_ FOR REPRODUCING THE ISSUE

Steps to reproduce

  1. nvim --clean -u minimal.lua
  2. ...