VIP 👤
🏠 Home
Benchmark
📊 Tutti i benchmark 🦖 Dinosauro v1 🦖 Dinosauro v2 ✅ App To-Do List 🎨 Pagine libere creative 🎯 FSACB - Ultimate Showcase 🌍 Benchmark traduzione
Modelli
🏆 Top 10 modelli 🆓 Modelli gratuiti 📋 Tutti i modelli ⚙️ Kilo Code
Risorse
💬 Libreria di prompt 📖 Glossario IA 🔗 Link utili 🔌 API e router IA
nâng cao

Cấu hình Autocommand cho file type

#autocmd #filetype #cấu-hình

Tự động áp dụng cài đặt dựa trên loại file mở.

Tạo một autocmd để tự động đặt 'expandtab' và 'shiftwidth=4' khi bạn mở một file có đuôi mở rộng là .py hoặc .rb. Hãy viết lệnh này trực tiếp trong dòng lệnh (command-line mode) trước khi thử thêm vào file cấu hình.