Prelude XML
Overview
This module provides configuration for editing XML files via the built-in
nxml-mode.
Configuration
Prelude sets the following defaults:
- Child indent: 4 spaces
- Attribute indent: 4 spaces
- Slash auto-complete: enabled (typing
/in a closing tag auto-completes it) - Meta-Tab completion: enabled
- No auto XML declaration: the XML declaration is not auto-inserted
File Associations
- Files starting with
<?xmlare automatically opened innxml-mode .pomfiles (Maven) are recognized as XML