mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 02:52:37 +00:00 
			
		
		
		
	assistant/chatgpt: fix npins name incompat
This commit is contained in:
		
					parent
					
						
							
								fd8e97a2ff
							
						
					
				
			
			
				commit
				
					
						dad18b3226
					
				
			
		
					 1 changed files with 10 additions and 8 deletions
				
			
		|  | @ -30,17 +30,19 @@ | |||
| in { | ||||
|   config = mkIf cfg.enable { | ||||
|     vim = { | ||||
|       startPlugins = [ | ||||
|         "chatgpt" | ||||
|       ]; | ||||
|       startPlugins = ["chatgpt-nvim"]; | ||||
| 
 | ||||
|       pluginRC.chagpt = entryAnywhere '' | ||||
|         require("chatgpt").setup(${toLuaObject cfg.setupOpts}) | ||||
|       ''; | ||||
|       maps.normal = mkMerge [ | ||||
| 
 | ||||
|       maps = { | ||||
|         visual = maps; | ||||
|         normal = mkMerge [ | ||||
|           (mkSetBinding mappings.chatGpt "<cmd>ChatGPT<CR>") | ||||
|           maps | ||||
|         ]; | ||||
|       maps.visual = maps; | ||||
|       }; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue