Mercurial > dotfiles
comparison .chezmoitemplates/init.lua @ 557:bb1e1f4320d5
Add signature help completion
author | zegervdv <zegervdv@me.com> |
---|---|
date | Wed, 09 Feb 2022 17:16:57 +0100 |
parents | 3b9c7a3a068a |
children | 3ac8dac65b1b |
comparison
equal
deleted
inserted
replaced
556:8068fbfa794c | 557:bb1e1f4320d5 |
---|---|
282 'hrsh7th/cmp-buffer', | 282 'hrsh7th/cmp-buffer', |
283 'hrsh7th/cmp-nvim-lsp', | 283 'hrsh7th/cmp-nvim-lsp', |
284 'saadparwaiz1/cmp_luasnip', | 284 'saadparwaiz1/cmp_luasnip', |
285 'hrsh7th/cmp-path', | 285 'hrsh7th/cmp-path', |
286 'hrsh7th/cmp-cmdline', | 286 'hrsh7th/cmp-cmdline', |
287 'hrsh7th/cmp-nvim-lsp-signature-help', | |
287 }, | 288 }, |
288 config = function() | 289 config = function() |
289 local cmp = require 'cmp' | 290 local cmp = require 'cmp' |
290 local luasnip = require 'luasnip' | 291 local luasnip = require 'luasnip' |
291 | 292 |
337 's', | 338 's', |
338 }), | 339 }), |
339 }, | 340 }, |
340 sources = { | 341 sources = { |
341 { name = 'nvim_lsp' }, | 342 { name = 'nvim_lsp' }, |
343 { name = 'nvim_lsp_signature_help' }, | |
342 { name = 'buffer', keyword_length = 5 }, | 344 { name = 'buffer', keyword_length = 5 }, |
343 { name = 'luasnip' }, | 345 { name = 'luasnip' }, |
344 { name = 'path' }, | 346 { name = 'path' }, |
345 }, | 347 }, |
346 experimental = { | 348 experimental = { |