-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: UI styling, unrelated small fix to inlayhints clearing
- Loading branch information
1 parent
5e3b4d2
commit 08e5024
Showing
7 changed files
with
68 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
require("fidget").setup { | ||
require("fidget").setup({ | ||
text = { | ||
spinner = "dots", | ||
}, | ||
window = { | ||
relative = "editor", | ||
}, | ||
} | ||
}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
local border = { | ||
{ "╭", "FloatBorder" }, | ||
{ "─", "FloatBorder" }, | ||
{ "╮", "FloatBorder" }, | ||
{ "│", "FloatBorder" }, | ||
{ "╯", "FloatBorder" }, | ||
{ "─", "FloatBorder" }, | ||
{ "╰", "FloatBorder" }, | ||
{ "│", "FloatBorder" }, | ||
} | ||
|
||
-- override globally | ||
local orig_util_open_floating_preview = vim.lsp.util.open_floating_preview | ||
---@diagnostic disable-next-line: duplicate-set-field | ||
function vim.lsp.util.open_floating_preview(contents, syntax, opts, ...) | ||
opts = opts or {} | ||
opts.border = opts.border or border | ||
return orig_util_open_floating_preview(contents, syntax, opts, ...) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters