Skip to content

Commit 1d54632

Browse files
authored
Fix syntax of autocmd for .editorconfig (#211)
Commit 39bd110 adjusted how fallback of .editorconfig filetype should be done, but with vim 9.0 patch 1 (as in Ubuntu 20.04) this rule applies and the syntax glitch is exposed: `setfiletype` is a command, not an option, so takes a parameter instead of being assigned a value.
1 parent ee6e91c commit 1d54632

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ftdetect/editorconfig.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
autocmd BufNewFile,BufRead .editorconfig setfiletype=dosini
1+
autocmd BufNewFile,BufRead .editorconfig setfiletype dosini

0 commit comments

Comments
 (0)