Skip to content

Commit

Permalink
fix: set EndOfBuffer to LspTroubleNormal and hide ~ #23
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed May 6, 2021
1 parent fcd5f1f commit 7d67f34
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lua/trouble/view.lua
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,10 @@ function View:setup(opts)
self:set_option("foldcolumn", "0", true)
self:set_option("foldlevel", 3, true)
self:set_option("foldenable", false, true)
self:set_option("winhighlight", "Normal:LspTroubleNormal", true)
self:set_option("winhighlight",
"Normal:LspTroubleNormal,EndOfBuffer:LspTroubleNormal,SignColumn:LspTroubleNormal",
true)
self:set_option("fcs", "eob: ", true)

for action, keys in pairs(config.options.action_keys) do
if type(keys) == "string" then keys = {keys} end
Expand Down

0 comments on commit 7d67f34

Please sign in to comment.