mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 19:12:38 +00:00 
			
		
		
		
	obsidian: enable cmp source on blink.cmp
This commit is contained in:
		
					parent
					
						
							
								2a9a662f45
							
						
					
				
			
			
				commit
				
					
						00e9f27aca
					
				
			
		
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -7,6 +7,8 @@ | |||
|   inherit (lib.types) bool str nullOr; | ||||
|   inherit (lib.modules) mkRenamedOptionModule; | ||||
|   inherit (lib.nvim.types) mkPluginSetupOption; | ||||
| 
 | ||||
|   autocompleteCfg = config.vim.autocomplete; | ||||
| in { | ||||
|   imports = let | ||||
|     renamedSetupOption = oldPath: newPath: | ||||
|  | @ -42,7 +44,7 @@ in { | |||
|             # If using nvim-cmp, otherwise set to false | ||||
|             type = bool; | ||||
|             description = "If using nvim-cmp, otherwise set to false"; | ||||
|             default = config.vim.autocomplete.nvim-cmp.enable; | ||||
|             default = autocompleteCfg.nvim-cmp.enable || autocompleteCfg.blink-cmp.enable; | ||||
|           }; | ||||
|         }; | ||||
|       }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Ching Pei Yang
				Ching Pei Yang