From 99ccd8cc58750f970eb01ddc2097e34f956be80d Mon Sep 17 00:00:00 2001 From: Arnold Date: Wed, 27 Sep 2023 10:59:09 -0600 Subject: [PATCH] added telescope-ui-select --- init.lua | 11 ++++++++++- lazy-lock.json | 2 ++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index bafcbf79..f883aee8 100644 --- a/init.lua +++ b/init.lua @@ -1,3 +1,4 @@ +-- TODO look into tmux sessionizer -- Set as the leader key -- See `:help mapleader` -- NOTE: Must happen before plugins are required (otherwise wrong leader will be used) @@ -31,7 +32,7 @@ require('lazy').setup({ -- Git related plugins "tpope/vim-fugitive", 'tpope/vim-rhubarb', - + 'f-person/git-blame.nvim', -- Detect tabstop and shiftwidth automatically 'tpope/vim-sleuth', @@ -158,6 +159,7 @@ require('lazy').setup({ branch = '0.1.x', dependencies = { 'nvim-lua/plenary.nvim', + 'nvim-telescope/telescope-ui-select.nvim', -- Fuzzy Finder Algorithm which requires local dependencies to be built. -- Only load if `make` is available. Make sure you have the system -- requirements installed. @@ -275,6 +277,9 @@ require('telescope').setup { -- Enable telescope fzf native, if installed pcall(require('telescope').load_extension, 'fzf') +-- Enable telescope ui select +require("telescope").load_extension("ui-select") + -- See `:help telescope.builtin` vim.keymap.set('n', '?', require('telescope.builtin').oldfiles, { desc = '[?] Find recently opened files' }) vim.keymap.set('n', '', require('telescope.builtin').buffers, { desc = '[ ] Find existing buffers' }) @@ -302,6 +307,10 @@ require('nvim-treesitter.configs').setup { -- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!) auto_install = false, + modules={}, + sync_install = false, + ignore_install = {}, + parser_install_dir = nil, highlight = { enable = true }, indent = { enable = true }, diff --git a/lazy-lock.json b/lazy-lock.json index 75eb7854..942ce7ce 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -5,6 +5,7 @@ "cmp_luasnip": { "branch": "master", "commit": "18095520391186d634a0045dacaa346291096566" }, "fidget.nvim": { "branch": "main", "commit": "0ba1e16d07627532b6cae915cc992ecac249fb97" }, "friendly-snippets": { "branch": "main", "commit": "ebf6d6e83494cdd88a54a429340256f4dbb6a052" }, + "git-blame.nvim": { "branch": "master", "commit": "a36b277e527f9d34efe16c3636555ce0e0c0464c" }, "gitsigns.nvim": { "branch": "main", "commit": "bdeba1cec3faddd89146690c10b9a87949c0ee66" }, "harpoon": { "branch": "master", "commit": "21f4c47c6803d64ddb934a5b314dcb1b8e7365dc" }, "indent-blankline.nvim": { "branch": "master", "commit": "9637670896b68805430e2f72cf5d16be5b97a22a" }, @@ -20,6 +21,7 @@ "oxocarbon.nvim": { "branch": "main", "commit": "b47c0ecab3a4270815afb3b05e03423b04cca8f2" }, "plenary.nvim": { "branch": "master", "commit": "9ce85b0f7dcfe5358c0be937ad23e456907d410b" }, "telescope-fzf-native.nvim": { "branch": "main", "commit": "6c921ca12321edaa773e324ef64ea301a1d0da62" }, + "telescope-ui-select.nvim": { "branch": "master", "commit": "62ea5e58c7bbe191297b983a9e7e89420f581369" }, "telescope.nvim": { "branch": "0.1.x", "commit": "54930e1abfc94409e1bb9266e752ef8379008592" }, "vim-fugitive": { "branch": "master", "commit": "99db68d9b3304580bd383da7aaee05c7a954a344" }, "vim-rhubarb": { "branch": "master", "commit": "ee69335de176d9325267b0fd2597a22901d927b1" },