How to detect the file type in vim
- Type
filetype detect
- it will detect automatically the file type - Manually with
set filetype=EXT
whereEXT
is the file extension (i.e.md
for markdown)
filetype detect
- it will detect automatically the file typeset filetype=EXT
where EXT
is the file extension (i.e. md
for markdown)