mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-09-11 12:39:44 +00:00
Merge pull request #296 from SamPosh/patch-3
This commit is contained in:
commit
a694c380d0
4
init.lua
4
init.lua
|
@ -94,7 +94,7 @@ require('lazy').setup({
|
|||
{
|
||||
-- Autocompletion
|
||||
'hrsh7th/nvim-cmp',
|
||||
dependencies = { 'hrsh7th/cmp-nvim-lsp', 'L3MON4D3/LuaSnip', 'saadparwaiz1/cmp_luasnip' },
|
||||
dependencies = { 'hrsh7th/cmp-nvim-lsp', 'L3MON4D3/LuaSnip', 'saadparwaiz1/cmp_luasnip',"rafamadriz/friendly-snippets", },
|
||||
},
|
||||
|
||||
-- Useful plugin to show you pending keybinds.
|
||||
|
@ -458,7 +458,7 @@ mason_lspconfig.setup_handlers {
|
|||
-- nvim-cmp setup
|
||||
local cmp = require 'cmp'
|
||||
local luasnip = require 'luasnip'
|
||||
|
||||
require("luasnip.loaders.from_vscode").lazy_load()
|
||||
luasnip.config.setup {}
|
||||
|
||||
cmp.setup {
|
||||
|
|
Loading…
Reference in New Issue
Block a user