mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-03 16:46:18 +00:00 
			
		
		
		
	Add a current_file format for the config file being parsed. Originally
suggested by kn@, also GitHub issue 2638.
This commit is contained in:
		@@ -276,7 +276,7 @@ cmdq_merge_formats(struct cmdq_item *item, struct format_tree *ft)
 | 
			
		||||
	const struct cmd_entry	*entry;
 | 
			
		||||
 | 
			
		||||
	if (item->cmd != NULL) {
 | 
			
		||||
		entry = cmd_get_entry (item->cmd);
 | 
			
		||||
		entry = cmd_get_entry(item->cmd);
 | 
			
		||||
		format_add(ft, "command", "%s", entry->name);
 | 
			
		||||
	}
 | 
			
		||||
	if (item->state->formats != NULL)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user