用spacemacs浏览C/C++的代码的会自动提示函数声明,但是minibuffer只有一行可以显示。怎么修改minibuffer的默认高度,大神们有何指教
为何不用 Pos Tip
M-x describe-variable
- Search
minibuffer max height
orecho max height
在spacemacs怎么用Pos Tip ? 应该有一个gtags-postip, 但是没有找到, 这个要我造轮子么?
你需要的应该是:
(setq resize-mini-windows t)
文档:
resize-mini-windows is a variable defined in `C source code'.
Its value is grow-only
Documentation:
How to resize mini-windows (the minibuffer and the echo area).
A value of nil means don't automatically resize mini-windows.
A value of t means resize them to fit the text displayed in them.
A value of `grow-only', the default, means let mini-windows grow only;
they return to their normal size when the minibuffer is closed, or the
echo area becomes empty.
1 个赞