Lightline
crivotz opened this issue · 0 comments
crivotz commented
Thanks, I added it in my lightline configuration
let g:lightline = {
\ 'colorscheme': 'nord',
\ 'active': {
\ 'left': [ [ 'mode', 'paste' ],
\ [ 'gitbranch', 'readonly', 'filename' ],
\ ['zoom'] ],
\ 'right': [ [ 'linenoindicator' ],
\ [ 'rvm' ],
\ [ 'fileformat' ],
\ [ 'fileencoding' ],
\ [ 'filetype' ]]
\ },
\ 'component_function': {
\ 'gitbranch': 'Lightlinegit',
\ 'zoom': 'Lightlinezoom',
\ 'filetype': 'MyFiletype',
\ 'fileformat': 'MyFileformat',
\ 'rvm': 'rvm#statusline',
\ 'filename': 'LightlineFilename',
\ 'readonly': 'LightLineReadonly',
\ 'currentfunction' : 'CocCurrentFunction',
\ 'tagbar' : 'LightLineTagbar',
\ 'mode' : 'LightlineMode',
\ 'linenoindicator' : 'LineNoIndicator',
\ },
\ 'component_expand': {
\ 'buffers': 'lightline#bufferline#buffers',
\ 'cocerror': 'LightLineCocError',
\ 'cocwarn': 'LightLineCocWarn',
\ },
\ 'component_type': {
\ 'buffers': 'tabsel',
\ 'cocerror': 'error',
\ 'cocwarn' : 'warning',
\ },
\ 'tabline': {
\ 'left': [ ['buffers'] ],
\ 'right': [['cocerror', 'cocwarn', 'currentfunction' ]]
\ }
\ }
I left here my configuration maybe someone can be find it useful for integration.