mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-29 18:33:53 +00:00 
			
		
		
		
	fix: properly escale quotes in values
This commit is contained in:
		
					parent
					
						
							
								efaf8e81b7
							
						
					
				
			
			
				commit
				
					
						eec0e97ce0
					
				
			
		
					 1 changed files with 3 additions and 4 deletions
				
			
		|  | @ -266,10 +266,8 @@ in { | |||
| 
 | ||||
|     toLuaBindings = mode: maps: | ||||
|       builtins.map (value: '' | ||||
|         map("${mode}", "${value.key}", ${ | ||||
|           if value.action ? "__raw" | ||||
|           then value.action."__raw" | ||||
|           else "\"${value.action}\"" | ||||
|         map(${toLuaObject mode}, ${toLuaObject value.key}, ${ | ||||
|           toLuaObject value.action | ||||
|         }, ${toLuaObject value.config})'') (genMaps mode maps); | ||||
| 
 | ||||
|     # I'm not sure if every one of these will work. | ||||
|  | @ -316,6 +314,7 @@ in { | |||
|         in | ||||
|           nvim.dag.entryAfter ["globalsScript"] luaConfig; | ||||
| 
 | ||||
|         # This is probably not the right way to set the config. I'm not sure how it should look like. | ||||
|         mappings = let | ||||
|           maps = [ | ||||
|             (splitString | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 n3oney
				n3oney