From 53c2a063df17e5069e888d1278b23a33e344d65c Mon Sep 17 00:00:00 2001 From: ttak0422 Date: Sat, 25 Jan 2025 23:44:21 +0900 Subject: [PATCH] chore(aerial): modify layout --- flake.lock | 6 +++--- fnl/aerial.fnl | 2 +- lua/autogen/aerial.lua | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/flake.lock b/flake.lock index 55711be..6f82fc7 100644 --- a/flake.lock +++ b/flake.lock @@ -101,11 +101,11 @@ "aerial-nvim": { "flake": false, "locked": { - "lastModified": 1734804217, - "narHash": "sha256-YLgOrKa4i5XcYtOT9BjHw/C85gYA7DWSrotFBrrQwMc=", + "lastModified": 1737788033, + "narHash": "sha256-knYqxbq9d2BkDYVqYifC3YVKCmAXCS+a1oK0j97+QdA=", "owner": "stevearc", "repo": "aerial.nvim", - "rev": "1160fb7a15a34b03b7381d95d45560712b5f19d0", + "rev": "2aeafd99937602fc40609ffffbdd2f99d77343e9", "type": "github" }, "original": { diff --git a/fnl/aerial.fnl b/fnl/aerial.fnl index bf708a0..fca80d4 100644 --- a/fnl/aerial.fnl +++ b/fnl/aerial.fnl @@ -25,7 +25,7 @@ :Event "" :Operator "󰆕" :TypeParameter "󰗴"} - layout {:max_width 0.25 + layout {:max_width 0.80 :min_width 0.15 :default_direction :float :placement :window} diff --git a/lua/autogen/aerial.lua b/lua/autogen/aerial.lua index 3f0a99f..f36fb63 100644 --- a/lua/autogen/aerial.lua +++ b/lua/autogen/aerial.lua @@ -2,7 +2,7 @@ local M = require("aerial") local backends = {"treesitter", "lsp"} local icons = {Text = "\243\176\137\191", Method = "\243\176\138\149", Function = "\243\176\138\149", Constructor = "\239\144\163", Field = "\243\176\156\162", Variable = "\243\176\128\171", Class = "\243\176\160\177", Interface = "\239\131\168", Module = "\239\146\135", Property = "\243\176\156\162", Unit = "\238\170\150", Value = "\243\176\142\160", Enum = "\239\133\157", Keyword = "\243\176\140\139", Snippet = "\239\145\143", Color = "\243\176\143\152", File = "\243\176\136\153", Reference = "\243\176\136\135", Folder = "\243\176\137\139", EnumMember = "\239\133\157", Constant = "\243\176\143\191", Struct = "\243\176\153\133", Event = "\239\131\167", Operator = "\243\176\134\149", TypeParameter = "\243\176\151\180"} -local layout = {max_width = 0.25, min_width = 0.15, default_direction = "float", placement = "window"} +local layout = {max_width = 0.8, min_width = 0.15, default_direction = "float", placement = "window"} local float = {border = "none", relative = "cursor", max_height = 0.9, min_height = {8, 0.1}} local keymaps = {["g?"] = "actions.show_help", [""] = "actions.jump", ["<2-LeftMouse>"] = "actions.jump", [""] = "actions.jump_vsplit", [""] = "actions.jump_split", p = "actions.scroll", [""] = "actions.down_and_scroll", [""] = "actions.up_and_scroll", ["{"] = "actions.prev", ["}"] = "actions.next", ["[["] = "actions.prev_up", ["]]"] = "actions.next_up", q = "actions.close", o = "actions.tree_toggle", za = "actions.tree_toggle", O = "actions.tree_toggle_recursive", zA = "actions.tree_toggle_recursive", l = "actions.tree_open", zo = "actions.tree_open", L = "actions.tree_open_recursive", zO = "actions.tree_open_recursive", h = "actions.tree_close", zc = "actions.tree_close", H = "actions.tree_close_recursive", zC = "actions.tree_close_recursive", zr = "actions.tree_increase_fold_level", zR = "actions.tree_open_all", zm = "actions.tree_decrease_fold_level", zM = "actions.tree_close_all", zx = "actions.tree_sync_folds", zX = "actions.tree_sync_folds"} local filter_kind = {"Class", "Constructor", "Enum", "Function", "Method", "Interface", "Module", "Method", "Struct"}