added emoji completion.
This commit is contained in:
		
							parent
							
								
									5782f851c8
								
							
						
					
					
						commit
						e4247f017e
					
				
					 2 changed files with 13 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -39,6 +39,11 @@ return {
 | 
			
		|||
    for_cat = "completion",
 | 
			
		||||
    on_plugin = { "blink.cmp" },
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    "blink-emoji.nvim",
 | 
			
		||||
    for_cat = "completion",
 | 
			
		||||
    on_plugin = { "blink.cmp" },
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    "blink.cmp",
 | 
			
		||||
    for_cat = "completion",
 | 
			
		||||
| 
						 | 
				
			
			@ -118,7 +123,7 @@ return {
 | 
			
		|||
          end,
 | 
			
		||||
        },
 | 
			
		||||
        sources = {
 | 
			
		||||
          default = { 'lsp', 'path', 'snippets', 'buffer', 'omni' },
 | 
			
		||||
          default = { 'lsp', 'path', 'snippets', 'buffer', 'omni', 'emoji', },
 | 
			
		||||
          providers = {
 | 
			
		||||
            path = {
 | 
			
		||||
              score_offset = 50,
 | 
			
		||||
| 
						 | 
				
			
			@ -129,6 +134,12 @@ return {
 | 
			
		|||
            snippets = {
 | 
			
		||||
              score_offset = 40,
 | 
			
		||||
            },
 | 
			
		||||
            emoji = {
 | 
			
		||||
              module = "blink-emoji",
 | 
			
		||||
              name = "Emoji",
 | 
			
		||||
              score_offset = 15,
 | 
			
		||||
              opts = { insert = true },
 | 
			
		||||
            },
 | 
			
		||||
            cmp_cmdline = {
 | 
			
		||||
              name = 'cmp_cmdline',
 | 
			
		||||
              module = 'blink.compat.source',
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue