TerminalFi / LSP-copilot

GitHub Copilot support for Sublime Text LSP plugin provided through Copilot.vim.
625 stars 25 forks source link

Wrong background colour when a multi-line phantom completion is dispalyed #56

Open timfjord opened 1 year ago

timfjord commented 1 year ago

When a multi-line phantom completion is displayed the background colour for lines number 2+ is the same as the background colour of the first line

timfjord commented 1 year ago

Due to phantom API limitations, ghost text that is related to the highlighted line shares the background colour.
This can be fixed by applying a different background-color for lines starting from the second but that won't work for the gutter

There is also a workaround to make sure the rule applies to the entire screen width