summaryrefslogtreecommitdiff
path: root/src/syntax.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-08-12 22:55:58 +0200
committerBram Moolenaar <Bram@vim.org>2017-08-12 22:55:58 +0200
commit3d9bdfebf1a8c1eec1c3e1cff6fbb60b3d98f02a (patch)
tree0d2c16aa5d073a120e160703ee88e73c07c211b8 /src/syntax.c
parent893029ab20a06da9c0cf29661c9f6e2ec5583dce (diff)
downloadvim-git-3d9bdfebf1a8c1eec1c3e1cff6fbb60b3d98f02a.tar.gz
patch 8.0.0921: terminal window cursor shape not supported in the GUIv8.0.0921
Problem: Terminal window cursor shape not supported in the GUI. Solution: Use the terminal window cursor shape in the GUI.
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/syntax.c b/src/syntax.c
index 2b06b464b..4c0fa3fda 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -103,7 +103,6 @@ static void highlight_clear(int idx);
#if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS)
static void gui_do_one_color(int idx, int do_menu, int do_tooltip);
-static guicolor_T color_name2handle(char_u *name);
#endif
#ifdef FEAT_GUI
static int set_group_colors(char_u *name, guicolor_T *fgp, guicolor_T *bgp, int do_menu, int use_norm, int do_tooltip);
@@ -8622,7 +8621,7 @@ hl_do_font(
* Return the handle for a color name.
* Returns INVALCOLOR when failed.
*/
- static guicolor_T
+ guicolor_T
color_name2handle(char_u *name)
{
if (STRCMP(name, "NONE") == 0)