From 87c609e4c53202b4151c09bf479dc615eab4f84e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 17 Oct 2015 22:41:18 +0200 Subject: vis: implement :set cursorline --- view.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'view.c') diff --git a/view.c b/view.c index 80e940b..1a308e5 100644 --- a/view.c +++ b/view.c @@ -889,6 +889,9 @@ bool view_syntax_set(View *view, const char *name) { lua_getfield(L, -1, "STYLE_CURSOR"); view->ui->syntax_style(view->ui, UI_STYLE_CURSOR, lua_tostring(L, -1)); lua_pop(L, 1); + lua_getfield(L, -1, "STYLE_CURSOR_LINE"); + view->ui->syntax_style(view->ui, UI_STYLE_CURSOR_LINE, lua_tostring(L, -1)); + lua_pop(L, 1); lua_getfield(L, -1, "STYLE_SELECTION"); view->ui->syntax_style(view->ui, UI_STYLE_SELECTION, lua_tostring(L, -1)); lua_pop(L, 1); -- cgit v1.2.3