Skip to content

Dark colorschemes get shaded out. Problem persists until restart. #727

@ShayHill

Description

@ShayHill
  • yegappan/lsp cloned into vimfiles/pack/minpac/start/
  • Windows 11 PowerShell core
  • minimal vimrc
  • colorscheme habamax, but this seems to affect all dark colorschemes
vim9script

source $VIMRUNTIME/defaults.vim
set termguicolor 

var lspServers = [{
  name: 'pyright',
  filetype: ['python'],
  path: 'pyright-langserver',
  args: ['--stdio'],
  workspaceConfig: {python: {pythonPath: exepath('python')}}
}]
autocmd User LspSetup lsp#lsp#AddServer(lspServers)

Sometimes, but not always, one error causes large, independent sections of the file to shade. Often, but not always, clearing the error does not remove the shading or only partially removes it. This does not show on light colorschemes, though the effect is still seen when switching back to a dark colorscheme. :syntax sync fromstart does not help. :LspServer restart does not help. Sometimes the problem goes away if I jump the file for a while.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions