Mercurial > vim
comparison src/eval.c @ 12487:3f16cf18386c v8.0.1123
patch 8.0.1123: cannot define a toolbar for a window
commit https://github.com/vim/vim/commit/1b9645de3c05f37b5c30e78f999351b0cf486ade
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 17 23:03:31 2017 +0200
patch 8.0.1123: cannot define a toolbar for a window
Problem: Cannot define a toolbar for a window.
Solution: Add a window-local toolbar.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 17 Sep 2017 23:15:04 +0200 |
parents | 68d7bc045dbe |
children | 5bc07e5d2c1f |
comparison
equal
deleted
inserted
replaced
12486:be9971c7a226 | 12487:3f16cf18386c |
---|---|
8250 * ":echohl {name}". | 8250 * ":echohl {name}". |
8251 */ | 8251 */ |
8252 void | 8252 void |
8253 ex_echohl(exarg_T *eap) | 8253 ex_echohl(exarg_T *eap) |
8254 { | 8254 { |
8255 int id; | 8255 echo_attr = syn_name2attr(eap->arg); |
8256 | |
8257 id = syn_name2id(eap->arg); | |
8258 if (id == 0) | |
8259 echo_attr = 0; | |
8260 else | |
8261 echo_attr = syn_id2attr(id); | |
8262 } | 8256 } |
8263 | 8257 |
8264 /* | 8258 /* |
8265 * ":execute expr1 ..." execute the result of an expression. | 8259 * ":execute expr1 ..." execute the result of an expression. |
8266 * ":echomsg expr1 ..." Print a message | 8260 * ":echomsg expr1 ..." Print a message |