Skip to content

Commit

Permalink
docs: Add lightline configuration example
Browse files Browse the repository at this point in the history
  • Loading branch information
liquidz committed Nov 10, 2024
1 parent c08429b commit 3c778ef
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions doc/pages/configuration/vim.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,24 @@ Therefore, you can use your preferred plugin to modify the behavior of `vim.ui.s
* https://github.com/nvim-telescope/telescope-ui-select.nvim
====


==== Status line

`elin#status` function returns the nREPL connection status text, and you can use it in the https://vim-jp.org/vimdoc-en/windows.html#status-line[status line].

.e.g. https://github.com/itchyny/lightline.vim[lightline.vim]
[source,vim]
----
let g:lightline = {
\ 'tabline': {
\ 'right': [['filetype', 'bufnum' ], ['elin'] ]
\ },
\ 'component_function': {
\ 'elin': 'elin#status#get',
\ },
\ }
----

==== Integration with other plugins

There are some <<Plugin>> that can be used with Elin.
Expand Down

0 comments on commit 3c778ef

Please sign in to comment.