diff options
| author | Blake Romero <blake@blkrom.com> | 2025-01-24 13:33:37 +0000 |
|---|---|---|
| committer | Blake Romero <blake@blkrom.com> | 2025-01-24 13:33:37 +0000 |
| commit | 7a6f2d96c8e6352dec6bee749e99db3686f8924f (patch) | |
| tree | b652676fb00f217da686b8daa4ac01151a882c4e /lua | |
| parent | 8f4c9b6bbf7421032abbaa8b239ab28efea6b629 (diff) | |
Add telescope UI & refactor config
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/plugins/lualine.lua | 2 | ||||
| -rw-r--r-- | lua/plugins/nvim-tree.lua | 3 | ||||
| -rw-r--r-- | lua/plugins/telescope.lua | 11 |
3 files changed, 12 insertions, 4 deletions
diff --git a/lua/plugins/lualine.lua b/lua/plugins/lualine.lua index 824ede3..556212f 100644 --- a/lua/plugins/lualine.lua +++ b/lua/plugins/lualine.lua @@ -2,7 +2,7 @@ return { 'nvim-lualine/lualine.nvim', dependencies = { 'nvim-tree/nvim-web-devicons' }, config = true, - options = { + opts = { theme = auto } } diff --git a/lua/plugins/nvim-tree.lua b/lua/plugins/nvim-tree.lua index d9589d4..92a1ef6 100644 --- a/lua/plugins/nvim-tree.lua +++ b/lua/plugins/nvim-tree.lua @@ -1,7 +1,6 @@ return { "nvim-tree/nvim-tree.lua", - version = "*", - dependencies = { "nvim-tree/nvim-web-devicons", }, + dependencies = { "nvim-tree/nvim-web-devicons" }, config = true, keys = { {"<leader><tab>", ":NvimTreeToggle<CR>"} diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua index d78ee91..6a40514 100644 --- a/lua/plugins/telescope.lua +++ b/lua/plugins/telescope.lua @@ -1,6 +1,15 @@ return { 'nvim-telescope/telescope.nvim', - dependencies = { 'nvim-lua/plenary.nvim' }, + dependencies = { + 'nvim-lua/plenary.nvim', + 'nvim-telescope/telescope-ui-select.nvim' + }, + config = function() require("telescope").load_extension("ui-select") end, + opts = { + extensions = { + ["ui-select"] = { require("telescope.themes").get_dropdown {} } + } + }, keys = { { '<leader>f', ':Telescope find_files<CR>' }, { '<leader>g', ':Telescope live_grep<CR>' }, |
