This repository was archived by the owner on Nov 26, 2025. It is now read-only.
Commit 1cb9cd5
Use setfiletype instead of set filetype
The :setfiletype command will not change the buffer's filetype if it is
already set, which prevents the FileType being set twice (which in turns
fires all FileType autocommands twice).1 parent 9350b0b commit 1cb9cd5
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
0 commit comments