This commit is contained in:
Mans Ziesel 2023-09-02 19:07:06 +02:00
parent 7b459dc931
commit 21eb9d495f
2 changed files with 26 additions and 25 deletions

View File

@ -4,77 +4,77 @@ return {
{ "folke/neoconf.nvim", cmd = "Neoconf" }, { "folke/neoconf.nvim", cmd = "Neoconf" },
'tpope/vim-fugitive', "tpope/vim-fugitive",
'tpope/vim-rhubarb', "tpope/vim-rhubarb",
-- Detect tabstop and shiftwidth automatically -- Detect tabstop and shiftwidth automatically
'tpope/vim-sleuth', "tpope/vim-sleuth",
{ {
-- LSP Configuration & Plugins -- LSP Configuration & Plugins
'neovim/nvim-lspconfig', "neovim/nvim-lspconfig",
dependencies = { dependencies = {
-- Automatically install LSPs to stdpath for neovim -- Automatically install LSPs to stdpath for neovim
{ 'williamboman/mason.nvim', config = true }, { "williamboman/mason.nvim", config = true },
'williamboman/mason-lspconfig.nvim', "williamboman/mason-lspconfig.nvim",
-- Useful status updates for LSP -- Useful status updates for LSP
-- NOTE: `opts = {}` is the same as calling `require('fidget').setup({})` -- NOTE: `opts = {}` is the same as calling `require("fidget").setup({})`
{ 'j-hui/fidget.nvim', tag = 'legacy', opts = {} }, { "j-hui/fidget.nvim", tag = "legacy", opts = {} },
-- Additional lua configuration, makes nvim stuff amazing! -- Additional lua configuration, makes nvim stuff amazing!
'folke/neodev.nvim', "folke/neodev.nvim",
}, },
}, },
{ {
-- Autocompletion -- Autocompletion
'hrsh7th/nvim-cmp', "hrsh7th/nvim-cmp",
dependencies = { dependencies = {
-- Snippet Engine & its associated nvim-cmp source -- Snippet Engine & its associated nvim-cmp source
'L3MON4D3/LuaSnip', "L3MON4D3/LuaSnip",
'saadparwaiz1/cmp_luasnip', "saadparwaiz1/cmp_luasnip",
-- Adds LSP completion capabilities -- Adds LSP completion capabilities
'hrsh7th/cmp-nvim-lsp', "hrsh7th/cmp-nvim-lsp",
-- Adds a number of user-friendly snippets -- Adds a number of user-friendly snippets
'rafamadriz/friendly-snippets', "rafamadriz/friendly-snippets",
}, },
}, },
-- Useful plugin to show you pending keybinds. -- Useful plugin to show you pending keybinds.
{ 'folke/which-key.nvim', opts = {} }, { "folke/which-key.nvim", opts = {} },
{ {
-- Add indentation guides even on blank lines -- Add indentation guides even on blank lines
'lukas-reineke/indent-blankline.nvim', "lukas-reineke/indent-blankline.nvim",
-- Enable `lukas-reineke/indent-blankline.nvim` -- Enable `lukas-reineke/indent-blankline.nvim`
-- See `:help indent_blankline.txt` -- See `:help indent_blankline.txt`
opts = { opts = {
char = '', char = "",
show_trailing_blankline_indent = false, show_trailing_blankline_indent = false,
}, },
}, },
-- "gc" to comment visual regions/lines -- "gc" to comment visual regions/lines
{ 'numToStr/Comment.nvim', opts = {} }, { "numToStr/Comment.nvim", opts = {} },
-- Fuzzy Finder (files, lsp, etc) -- Fuzzy Finder (files, lsp, etc)
{ {
'nvim-telescope/telescope.nvim', "nvim-telescope/telescope.nvim",
branch = '0.1.x', branch = "0.1.x",
dependencies = { dependencies = {
'nvim-lua/plenary.nvim', "nvim-lua/plenary.nvim",
-- Fuzzy Finder Algorithm which requires local dependencies to be built. -- Fuzzy Finder Algorithm which requires local dependencies to be built.
-- Only load if `make` is available. Make sure you have the system -- Only load if `make` is available. Make sure you have the system
-- requirements installed. -- requirements installed.
{ {
'nvim-telescope/telescope-fzf-native.nvim', "nvim-telescope/telescope-fzf-native.nvim",
-- NOTE: If you are having trouble with this installation, -- NOTE: If you are having trouble with this installation,
-- refer to the README for telescope-fzf-native for more instructions. -- refer to the README for telescope-fzf-native for more instructions.
build = 'make', build = "make",
cond = function() cond = function()
return vim.fn.executable 'make' == 1 return vim.fn.executable "make" == 1
end, end,
}, },
}, },

View File

@ -1,4 +1,5 @@
return { "nvim-telescope/telescope.nvim", return {
"nvim-telescope/telescope.nvim",
event = "BufReadPre", event = "BufReadPre",
dependencies = { dependencies = {
{ "nvim-telescope/telescope-fzf-native.nvim", build = "make" }, { "nvim-telescope/telescope-fzf-native.nvim", build = "make" },