🎉 initiate project *astro_rewrite*
This commit is contained in:
		
							parent
							
								
									ffd4d5e86c
								
							
						
					
					
						commit
						2ba37bfbe3
					
				
					 8658 changed files with 2268794 additions and 2538 deletions
				
			
		
							
								
								
									
										11
									
								
								node_modules/@astrojs/language-server/dist/plugins/html/utils.js
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								node_modules/@astrojs/language-server/dist/plugins/html/utils.js
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,11 @@
 | 
			
		|||
"use strict";
 | 
			
		||||
Object.defineProperty(exports, "__esModule", { value: true });
 | 
			
		||||
exports.removeDataAttrCompletion = void 0;
 | 
			
		||||
/**
 | 
			
		||||
 * The VS Code HTML language service provides a completion for data attributes that is independent from
 | 
			
		||||
 * data providers, which mean that you can't disable it, so this function removes them from completions
 | 
			
		||||
 */
 | 
			
		||||
function removeDataAttrCompletion(items) {
 | 
			
		||||
    return items.filter((item) => !item.label.startsWith('data-'));
 | 
			
		||||
}
 | 
			
		||||
exports.removeDataAttrCompletion = removeDataAttrCompletion;
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue