Closed akinsho closed 5 years ago
Merging #2644 into master will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #2644 +/- ##
=======================================
Coverage 45.72% 45.72%
=======================================
Files 361 361
Lines 14597 14597
Branches 1917 1917
=======================================
Hits 6674 6674
Misses 7695 7695
Partials 228 228
Impacted Files | Coverage Δ | |
---|---|---|
...src/Services/Configuration/DefaultConfiguration.ts | 87.5% <ø> (ø) |
:arrow_up: |
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 c4fc770...1593d8a. Read the comment docs.
@CrossR when you get a chance can you have a look at this change I think its fairly minor and fixes the buffers mode opening/closing issue
Fixes #2639, the issue here was that during the refactor of the quick open menu we now check against the
Oni.FileOpenMode
enum for the legacy settingeditor.quickOpen.fileOpenMode
which is set toEdit
which in the enum is represented byO
so the legacy checkif(legacy //which is 0)
coerces to false and this fails.The fn then looks for the new setting
quickOpen.fileOpenMode
which isn't set in the default config so that fails and the default value it is passed isOni.FileOpenMode.NewTab
so it callstabnew!
this PR fixes the legacy check so it works and also adds a default config for the new command and sets it to edit by default