Enable nvim autopairs and some new completion sources

This commit is contained in:
Marko Korhonen 2022-08-23 11:45:28 +03:00
parent 58b1563a8b
commit b945ce338e
2 changed files with 17 additions and 0 deletions

View file

@ -79,9 +79,16 @@ require('packer').startup(function()
use 'hrsh7th/nvim-cmp' -- Autocompletion plugin
use 'hrsh7th/cmp-nvim-lsp' -- LSP source for nvim-cmp
use 'hrsh7th/cmp-path' -- Path source for nvim-cmp
use 'petertriho/cmp-git' -- Git source for nvim-cmp
use 'hrsh7th/cmp-buffer' -- Buffer source for nvim-cmp
use 'saadparwaiz1/cmp_luasnip' -- Snippets source for nvim-cmp
use 'L3MON4D3/LuaSnip' -- Snippets plugin
use 'rafamadriz/friendly-snippets' -- Snippets collection
-- Enable brackets for completions
use {
"windwp/nvim-autopairs",
config = function() require("nvim-autopairs").setup {} end
}
-- treesitter syntax highlight
use {