mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 02:52:37 +00:00 
			
		
		
		
	Merge pull request #74 from n3oney/feature/custom-keybinds
fix tab not working
This commit is contained in:
		
				commit
				
					
						d0a2345bfa
					
				
			
		
					 1 changed files with 6 additions and 2 deletions
				
			
		|  | @ -84,7 +84,9 @@ in { | |||
|           elseif has_words_before() then | ||||
|             cmp.complete() | ||||
|           else | ||||
|             fallback() | ||||
|             local termcode = vim.api.nvim_replace_termcodes(${builtins.toJSON mappings.next.value}, true, false, true) | ||||
| 
 | ||||
|             vim.fn.feedkeys(termcode, 'n') | ||||
|           end | ||||
|         end | ||||
|       '') | ||||
|  | @ -157,7 +159,9 @@ in { | |||
|           elseif has_words_before() then | ||||
|             cmp.complete() | ||||
|           else | ||||
|             fallback() | ||||
|             local termcode = vim.api.nvim_replace_termcodes(${builtins.toJSON mappings.next.value}, true, false, true) | ||||
| 
 | ||||
|             vim.fn.feedkeys(termcode, 'n') | ||||
|           end | ||||
|         end | ||||
|       '') | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 NotAShelf
				NotAShelf