diff options
| author | Abouzar Parvan <[email protected]> | 2022-06-23 10:27:18 +0430 | 
|---|---|---|
| committer | GitHub <[email protected]> | 2022-06-23 10:27:18 +0430 | 
| commit | 0ee8b8f65313d33b1ea4f406b2c4e772b0fe4895 (patch) | |
| tree | 2f2f5cf5ff09db6b35c52fd5463479321c01f7ab | |
| parent | 958030e728d3a853cc85051edf0326593c24148f (diff) | |
feat: fix a couple of issues (#2750)
* fix(nvimtree): do not set key if disabled
* fix(telescope): move pickers of out defaults
* fix(install): use proper gentoo installation
| -rw-r--r-- | lua/lvim/core/nvimtree.lua | 2 | ||||
| -rw-r--r-- | lua/lvim/core/telescope.lua | 16 | ||||
| -rwxr-xr-x | utils/installer/install.sh | 2 | 
3 files changed, 10 insertions, 10 deletions
| diff --git a/lua/lvim/core/nvimtree.lua b/lua/lvim/core/nvimtree.lua index 711ddc52..9d7ab069 100644 --- a/lua/lvim/core/nvimtree.lua +++ b/lua/lvim/core/nvimtree.lua @@ -148,7 +148,6 @@ function M.config()        },      },    } -  lvim.builtin.which_key.mappings["e"] = { "<cmd>NvimTreeToggle<CR>", "Explorer" }  end  function M.setup() @@ -163,6 +162,7 @@ function M.setup()      return    end +  lvim.builtin.which_key.mappings["e"] = { "<cmd>NvimTreeToggle<CR>", "Explorer" }    lvim.builtin.nvimtree._setup_called = true    -- Implicitly update nvim-tree when project module is active diff --git a/lua/lvim/core/telescope.lua b/lua/lvim/core/telescope.lua index 6a04a866..f556913b 100644 --- a/lua/lvim/core/telescope.lua +++ b/lua/lvim/core/telescope.lua @@ -70,14 +70,14 @@ function M.config()        borderchars = { "─", "│", "─", "│", "â•", "â•®", "╯", "â•°" },        color_devicons = true,        set_env = { ["COLORTERM"] = "truecolor" }, -- default = nil, -      pickers = { -        find_files = { -          hidden = true, -        }, -        live_grep = { -          --@usage don't include the filename in the search results -          only_sort_text = true, -        }, +    }, +    pickers = { +      find_files = { +        hidden = true, +      }, +      live_grep = { +        --@usage don't include the filename in the search results +        only_sort_text = true,        },      },      extensions = { diff --git a/utils/installer/install.sh b/utils/installer/install.sh index 66149cf6..2903dd7f 100755 --- a/utils/installer/install.sh +++ b/utils/installer/install.sh @@ -160,7 +160,7 @@ function detect_platform() {        elif [ -f "/etc/fedora-release" ] || [ -f "/etc/redhat-release" ]; then          RECOMMEND_INSTALL="sudo dnf install -y"        elif [ -f "/etc/gentoo-release" ]; then -        RECOMMEND_INSTALL="emerge install -y" +        RECOMMEND_INSTALL="emerge -tv"        else # assume debian based          RECOMMEND_INSTALL="sudo apt install -y"        fi | 
