onivim/oni

Investigate integrating `nvim_ui_set_option`

Open

#1,953 创建于 2018年3月28日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)TypeScript (11,389 star) (336 fork)batch import
enhancementhelp wanted

描述

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)

贡献者指南

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