Open iamFIREcracker opened 5 years ago
This is a problem with more than just .vimrc
; e.g. something like %file
also won't work.
The root cause is that in s:filter_matched()
the regexp '.vimrc' =~ '\<\.vimrc$'
gets run. Since .
is not considered to be the "first char of a word" the match fails.
I think the \<
is there to make sure that a path of foo/bar/foo.vim will match just against foo.vim
? In that case, something like [^/]
should also work.
I'm not sure what the purpose of the \<
is in this case? Removing it seems to fix it, but I presume it wasn't added for the fun of it.
Rules defined for filenames with a leading
.
are not loaded up by the plugin.My .editorconfig:
When I edit my .vimrc file, and run
verbose set shiftwidth
I get the following:With the following .editorconfig instead (no more
.
):settings are loaded up just fine:
Is this expected?