onivim/oni

Investigate integrating `nvim_ui_set_option`

Open

#1,953 opened on Mar 28, 2018

View on GitHub
 (0 comments) (0 reactions) (0 assignees)TypeScript (11,389 stars) (336 forks)batch import
enhancementhelp wanted

Description

Pulling this from #992 - @justinmk mentioned that we could potentially use nvim_ui_set_option to change some of our UI externalization options during runtime: https://github.com/neovim/neovim/commit/6e5cb0debd23693175bd05409d3f1af4015567df

Today, if you change an option that depends on an externalized UI flag, like ext_commandline (like changing commandline.mode, which in turn controls ext_commandline), you need to restart Oni for the change to take effect.

It's a much better experience if we can 'hot load' the configuration settings and display the change immediately, so would be cool to leverage nvim_ui_set_option for this.

Note that it's enabled in an unreleased build, so we'd want to grab one of the nightly builds to test it out (and override the nvim instance used by setting debug.neovimPath)

Contributor guide

Investigate integrating `nvim_ui_set_option` · onivim/oni#1953 | Good First Issue