Skip to content

Commit 6d491d5

Browse files
authored
Merge pull request #30 from mityu/show-cursorline
2 parents 88c6ec5 + daeee0c commit 6d491d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

denops/fall/component/list.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export class ListComponent extends BaseComponent {
133133
await fn.win_execute(
134134
denops,
135135
winid,
136-
"setlocal cursorline signcolumn=yes nowrap nolist nofoldenable nonumber norelativenumber filetype=fall-list",
136+
"setlocal cursorline cursorlineopt=line signcolumn=yes nowrap nolist nofoldenable nonumber norelativenumber filetype=fall-list",
137137
);
138138

139139
signal?.throwIfAborted();

denops/fall/component/preview.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export class PreviewComponent extends BaseComponent {
164164
await fn.win_execute(
165165
denops,
166166
winid,
167-
`silent! setlocal buftype=nofile bufhidden=wipe nobuflisted noswapfile nomodifiable nowrap cursorline`,
167+
`silent! setlocal buftype=nofile bufhidden=wipe nobuflisted noswapfile nomodifiable nowrap cursorline cursorlineopt=number,line`,
168168
);
169169
// Move cursor
170170
await fn.win_execute(

0 commit comments

Comments
 (0)