I and my colleagues put ssh configurations for different projects in separate files, but vim doesn't recognize them as sshconfig. With this PR, vim considers all files matching */.ssh/*.conf to be sshconfig files. I believe that this will not generate any false positives as there is no reason to put any other .conf files in that directory or its subdirectories.
However, I do understand if you consider this to be an edge case and therefore don't want it in the general filetype configuration. I'm aware that I can also add this to my personal .vimrc but thought there would be others out there with the same issue.
https://github.com/vim/vim/pull/9322
(1 file)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
![]()
@dreua commented on this pull request.
> @@ -1761,8 +1761,8 @@ au BufNewFile,BufRead *.sqr,*.sqi setf sqr au BufNewFile,BufRead *.nut setf squirrel " OpenSSH configuration -au BufNewFile,BufRead ssh_config,*/.ssh/config setf sshconfig -au BufNewFile,BufRead */etc/ssh/ssh_config.d/*.conf setf sshconfig +au BufNewFile,BufRead ssh_config,*/.ssh/config,*/.ssh/*.conf setf sshconfig +au BufNewFile,BufRead */etc/ssh/ssh_config.d/*.conf setf sshconfig
This looks wrong in GH but is correctly indentated in Vim
Should be fine to add this pattern. Please add an entry to the test in src/testdir/test_filetype.vim
I added a test and confirmed it works via make test. Let me know if you want more tests or a force-push of the squashed commits.
—
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()
Merging #9322 (e890ce9) into master (2172bff) will decrease coverage by
87.74%.
The diff coverage isn/a.
@@ Coverage Diff @@ ## master #9322 +/- ## =========================================== - Coverage 90.19% 2.44% -87.75% =========================================== Files 151 152 +1 Lines 170987 168176 -2811 =========================================== - Hits 154226 4119 -150107 - Misses 16761 164057 +147296
| Flag | Coverage Δ | |
|---|---|---|
| huge-clang-none | ? |
|
| huge-gcc-none | ? |
|
| huge-gcc-testgui | ? |
|
| huge-gcc-unittests | 2.44% <ø> (-0.02%) |
⬇️ |
Flags with carried forward coverage won't be shown. Click here to find out more.
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/float.c | 0.00% <0.00%> (-99.22%) |
⬇️ |
| src/gui_gtk_f.c | 0.00% <0.00%> (-97.54%) |
⬇️ |
| src/crypt_zip.c | 0.00% <0.00%> (-97.06%) |
⬇️ |
| src/cmdhist.c | 0.00% <0.00%> (-97.00%) |
⬇️ |
| src/match.c | 0.00% <0.00%> (-96.98%) |
⬇️ |
| src/sha256.c | 0.00% <0.00%> (-96.94%) |
⬇️ |
| src/evalbuffer.c | 0.00% <0.00%> (-96.88%) |
⬇️ |
| src/textprop.c | 0.00% <0.00%> (-96.61%) |
⬇️ |
| src/libvterm/src/rect.h | 0.00% <0.00%> (-96.56%) |
⬇️ |
| src/debugger.c | 0.00% <0.00%> (-96.51%) |
⬇️ |
| ... and 140 more |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered by Codecov. Last update 2172bff...e890ce9. Read the comment docs.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()