diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2023-07-15 15:49:24 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2023-07-15 15:49:24 +0530 |
commit | 16ee7441f40a71872f8fb6a89da470564e76ce04 (patch) | |
tree | 79bd0516cb4230593de537f283e6db537990666c /.config/nvim/lua/justsaumit/plugins.lua | |
parent | 32077b19df1d8895e051de1c4e323aeff6b084c9 (diff) |
nvim: Adding autocompletions- nvim-cmp+luasnip+nvim-lsp+cmdline+path
Diffstat (limited to '.config/nvim/lua/justsaumit/plugins.lua')
-rw-r--r-- | .config/nvim/lua/justsaumit/plugins.lua | 29 |
1 files changed, 11 insertions, 18 deletions
diff --git a/.config/nvim/lua/justsaumit/plugins.lua b/.config/nvim/lua/justsaumit/plugins.lua index 4d0edd9..c14149b 100644 --- a/.config/nvim/lua/justsaumit/plugins.lua +++ b/.config/nvim/lua/justsaumit/plugins.lua @@ -68,31 +68,24 @@ return packer.startup(function(use) --lsp use("williamboman/mason-lspconfig.nvim") use("neovim/nvim-lspconfig") --> Collection of configurations for built-in LSP client - use("jose-elias-alvarez/null-ls.nvim") --> inject lsp diagnistocs, formattings, code actions, and more ... use("tami5/lspsaga.nvim") --> icons for LSP diagnostics use("onsails/lspkind-nvim") --> vscode-like pictograms for neovim lsp completion items - use("hrsh7th/nvim-cmp") --> Autocompletion plugin - use("hrsh7th/cmp-nvim-lsp") --> LSP source for nvim-cmp - use("saadparwaiz1/cmp_luasnip") --> Snippets source for nvim-cmp - use("L3MON4D3/LuaSnip") --> Snippets plugin +--cmp - Autocompletions + use("hrsh7th/nvim-cmp") --completion engine + use("L3MON4D3/LuaSnip") --snippets engine + use("saadparwaiz1/cmp_luasnip") --luasnip completion source for nvim-cmp +--cmp plugins + use("hrsh7th/cmp-nvim-lsp")--nvim-cmp source for neovim's built-in language server client. + use("hrsh7th/cmp-buffer") --nvim-cmp source for buffer words. + use("hrsh7th/cmp-path") --nvim-cmp source for filesystem path + use("hrsh7th/cmp-cmdline") --nvim-cmp source for vim's cmdline + +-- use("jose-elias-alvarez/null-ls.nvim") --> inject lsp diagnistocs, formattings, code actions, and more ... --HTML -- use 'windwp/nvim-ts-autotag' --Markdown + Zenmode --Telescope use {'nvim-telescope/telescope.nvim', tag = '0.1.2', requires = { {'nvim-lua/plenary.nvim'} }} ---cmp --- use 'hrsh7th/nvim-cmp' ---cmp plugins --- use 'hrsh7th/cmp-buffer' --- use 'hrsh7th/cmp-path' --- use 'hrsh7th/cmp-cmdline' --- use 'hrsh7th/cmp-nvim-lsp' - -- use 'neovim/nvim-lspconfig' - --- use "saadparwaiz1/cmp_luasnip" -- snippet completions - - -- snippets --- use "L3MON4D3/LuaSnip" --snippet engine -- use "rafamadriz/friendly-snippets" -- a bunch of snippets to use -- -- Comments - Toggle comments in Neovim |