summaryrefslogtreecommitdiff
path: root/lua/core/info.lua
diff options
context:
space:
mode:
authorAhmed Khalf <[email protected]>2021-08-10 18:59:05 +0400
committerGitHub <[email protected]>2021-08-10 19:29:05 +0430
commit68287877806e1931f4c6f342c3ee0ba47b634737 (patch)
tree899578f01c3bdf6a2082c25ede72219f91ec07b8 /lua/core/info.lua
parent405423108fc31981c40116a827e845a1179c9053 (diff)
Fix window borders for lunarvim info (#1280)
Diffstat (limited to 'lua/core/info.lua')
-rw-r--r--lua/core/info.lua28
1 files changed, 14 insertions, 14 deletions
diff --git a/lua/core/info.lua b/lua/core/info.lua
index 7f8a0a33..501f786e 100644
--- a/lua/core/info.lua
+++ b/lua/core/info.lua
@@ -23,7 +23,7 @@ end
local function get_formatter_suggestion_msg(ft)
local supported_formatters = u.get_supported_formatters_by_filetype(ft)
return {
- "-------------------------------------------------------------------",
+ "───────────────────────────────────────────────────────────────────",
"",
"  HINT ",
"",
@@ -35,17 +35,17 @@ local function get_formatter_suggestion_msg(ft)
.. "lvim.lang."
.. tostring(ft)
.. [[.formatting = { { exe = ']]
- .. table.concat(supported_formatters, "|")
+ .. table.concat(supported_formatters, "│")
.. [[' } }]],
"",
- "-------------------------------------------------------------------",
+ "───────────────────────────────────────────────────────────────────",
}
end
local function get_linter_suggestion_msg(ft)
local supported_linters = u.get_supported_linters_by_filetype(ft)
return {
- "-------------------------------------------------------------------",
+ "───────────────────────────────────────────────────────────────────",
"",
"  HINT ",
"",
@@ -57,10 +57,10 @@ local function get_linter_suggestion_msg(ft)
.. "lvim.lang."
.. tostring(ft)
.. [[.linters = { { exe = ']]
- .. table.concat(supported_linters, "|")
+ .. table.concat(supported_linters, "│")
.. [[' } }]],
"",
- "-------------------------------------------------------------------",
+ "───────────────────────────────────────────────────────────────────",
}
end
@@ -83,14 +83,14 @@ function M.create_simple_popup(buf_lines, callback)
opts.col = math.floor(vim.o.columns * col_start_percentage)
opts.width = math.floor(vim.o.columns * width_percentage)
opts.border = {
- "┌",
- "-",
- "┐",
- "|",
- "┘",
- "-",
- "└",
- "|",
+ "╭",
+ "─",
+ "╮",
+ "│",
+ "╯",
+ "─",
+ "╰",
+ "│",
}
local win_id = vim.api.nvim_open_win(bufnr, true, opts)