mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 02:52:37 +00:00 
			
		
		
		
	luasnip: only add cmp source if cmp enabled
This commit is contained in:
		
					parent
					
						
							
								102d103986
							
						
					
				
			
			
				commit
				
					
						5a42eff8fd
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -20,7 +20,7 @@ in { | |||
|         after = cfg.loaders; | ||||
|       }; | ||||
|       startPlugins = cfg.providers; | ||||
|       autocomplete.nvim-cmp = { | ||||
|       autocomplete.nvim-cmp = mkIf config.vim.autocomplete.nvim-cmp.enable { | ||||
|         sources = {luasnip = "[LuaSnip]";}; | ||||
|         sourcePlugins = ["cmp-luasnip"]; | ||||
|       }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Ching Pei Yang
				Ching Pei Yang