Skip to content

Commit

Permalink
Improve lightline lineinfo display
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyckahn committed Mar 1, 2020
1 parent 031bde3 commit 393bd18
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .vimrc
Expand Up @@ -363,6 +363,9 @@ let g:lightline = {
\ 'colorscheme': 'darcula',
\ 'component_function': {
\ 'filename': 'LightLineFilename'
\ },
\ 'component': {
\ 'lineinfo': "%3l:%-2v|%{printf('%03d/%03d',line('.'),line('$'))}",
\ }
\ }
function! LightLineFilename()
Expand Down

0 comments on commit 393bd18

Please sign in to comment.