aboutsummaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'view.c')
-rw-r--r--view.c3
1 files changed, 3 insertions, 0 deletions
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);