From daeee0cc4a907c602e80909b16b233a9ff7f3f04 Mon Sep 17 00:00:00 2001 From: mityu Date: Sun, 16 Feb 2025 20:16:59 +0900 Subject: [PATCH] :bug: Cursor line may not be highlighted --- denops/fall/component/list.ts | 2 +- denops/fall/component/preview.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/denops/fall/component/list.ts b/denops/fall/component/list.ts index 01643f1..da509e4 100644 --- a/denops/fall/component/list.ts +++ b/denops/fall/component/list.ts @@ -133,7 +133,7 @@ export class ListComponent extends BaseComponent { await fn.win_execute( denops, winid, - "setlocal cursorline signcolumn=yes nowrap nolist nofoldenable nonumber norelativenumber filetype=fall-list", + "setlocal cursorline cursorlineopt=line signcolumn=yes nowrap nolist nofoldenable nonumber norelativenumber filetype=fall-list", ); signal?.throwIfAborted(); diff --git a/denops/fall/component/preview.ts b/denops/fall/component/preview.ts index 30fd4db..343de89 100644 --- a/denops/fall/component/preview.ts +++ b/denops/fall/component/preview.ts @@ -164,7 +164,7 @@ export class PreviewComponent extends BaseComponent { await fn.win_execute( denops, winid, - `silent! setlocal buftype=nofile bufhidden=wipe nobuflisted noswapfile nomodifiable nowrap cursorline`, + `silent! setlocal buftype=nofile bufhidden=wipe nobuflisted noswapfile nomodifiable nowrap cursorline cursorlineopt=number,line`, ); // Move cursor await fn.win_execute(