From ef44657937474145403c2b441b862035914d6a44 Mon Sep 17 00:00:00 2001 From: Nanderty Date: Sun, 26 Mar 2023 16:04:40 +0200 Subject: Snippets --- lua/plugins/cmp.lua | 6 +++--- lua/plugins/telescope.lua | 17 ----------------- 2 files changed, 3 insertions(+), 20 deletions(-) (limited to 'lua/plugins') diff --git a/lua/plugins/cmp.lua b/lua/plugins/cmp.lua index 76e8101..3f7b6ea 100644 --- a/lua/plugins/cmp.lua +++ b/lua/plugins/cmp.lua @@ -14,7 +14,7 @@ return { }, config = function(_, opts) require('luasnip').config.set_config(opts) - require('luasnip.loaders.from_lua').lazy_load({ paths = vim.fn.stdpath('config') .. '/Snippets/' }) + require('luasnip.loaders.from_lua').lazy_load({ paths = vim.fn.stdpath('config') .. '/lua/Snippets/' }) end }, { @@ -23,7 +23,7 @@ return { dependencies = { 'hrsh7th/cmp-nvim-lsp', 'hrsh7th/cmp-buffer', - 'hrsh7th/cmp-path', + 'FelipeLema/cmp-async-path', 'hrsh7th/cmp-calc', 'saadparwaiz1/cmp_luasnip', 'L3MON4D3/LuaSnip', @@ -55,7 +55,7 @@ return { { name = 'nvim_lsp' }, { name = 'luasnip' }, { name = 'buffer' }, - { name = 'path' }, + { name = 'async_path' }, { name = 'calc' }, }), formatting = { diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua index b62373d..3f1a9b8 100644 --- a/lua/plugins/telescope.lua +++ b/lua/plugins/telescope.lua @@ -36,11 +36,6 @@ return { }, borderchars = { ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ' }, }, - extensions = { - sessions_picker = { - sessions_dir = vim.fn.stdpath('data') .. '/session/', - } - }, }, }, { @@ -55,18 +50,6 @@ return { require('telescope').load_extension 'file_browser' end, }, - { - dir = vim.fn.stdpath('data') .. '/localplugins/telemini/', - keys = { - { 'ps', 'Telescope telemini', desc = 'sessions' } - }, - dependencies = { - 'nvim-telescope/telescope.nvim', - }, - config = function() - require('telescope').load_extension 'telemini' - end, - }, { 'nvim-telescope/telescope-fzf-native.nvim', build = 'make', -- cgit v1.2.3