Commit 39bd110
authored
Fix overriding the default filetype detection (#206)
Vim recognizes the filetype of .editorconfig as editorconfig, not
dosini, by default since patch-9.0.1167. It's a superset of the dosini
syntax. However editorconfig.vim always overrides it with dosini. To fix
this, set the filetype only if Vim hasn't set it yet.1 parent 1953c0f commit 39bd110
4 files changed
Lines changed: 4 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | 288 | | |
295 | 289 | | |
296 | 290 | | |
| |||
0 commit comments