Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Commit

Permalink
Add commandline and wildmenu mode on by default (#1532)
Browse files Browse the repository at this point in the history
  • Loading branch information
akinsho authored and bryphe committed Feb 12, 2018
1 parent 2d057c3 commit 2336dc7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions browser/src/Services/Configuration/DefaultConfiguration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ const BaseConfiguration: IConfigurationValues = {
"debug.fakeLag.neovimInput": null,

"experimental.editor.textMateHighlighting.enabled": false,
"experimental.commandline.mode": false,
"experimental.commandline.icons": false,
"wildmenu.mode": true,
"commandline.mode": true,
"commandline.icons": true,
"experimental.welcome.enabled": false,
"experimental.wildmenu.mode": false,

"experimental.neovim.transport": "stdio",
// TODO: Enable pipe transport for Windows
Expand Down
5 changes: 3 additions & 2 deletions browser/src/Services/Configuration/IConfigurationValues.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ export interface IConfigurationValues {
// The transport to use for Neovim
// Valid values are "stdio" and "pipe"
"experimental.neovim.transport": string
"experimental.commandline.mode": boolean
"experimental.commandline.icons": boolean
"wildmenu.mode": boolean
"commandline.mode": boolean
"commandline.icons": boolean

"experimental.welcome.enabled": boolean

Expand Down
4 changes: 2 additions & 2 deletions browser/src/neovim/NeovimInstance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -870,8 +870,8 @@ export class NeovimInstance extends EventEmitter implements INeovimInstance {
shouldExtPopups: boolean,
) {
if (major >= 0 && minor >= 2 && patch >= 1) {
const useExtCmdLine = this._configuration.getValue("experimental.commandline.mode")
const useExtWildMenu = this._configuration.getValue("experimental.wildmenu.mode")
const useExtCmdLine = this._configuration.getValue("commandline.mode")
const useExtWildMenu = this._configuration.getValue("wildmenu.mode")
return {
rgb: true,
popupmenu_external: shouldExtPopups,
Expand Down

0 comments on commit 2336dc7

Please sign in to comment.