summaryrefslogtreecommitdiff
path: root/configs/statusline.vim
blob: 14c004ec04a7b0c2181897888593dff69661cd9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
set laststatus=2
if !has('gui_running')
	set t_Co=256
endif

set noshowmode

"set statusline^=%{coc#status()}%{get(b:,coc_current_function','')}

"function! CocCurrentFunction()
	"return get(b:, 'coc_current_function', '')
"endfunction


"let g:lightline = {
			"\ 'colorscheme': 'default',
			"\ 'active': {
			"\   'left': [ [ 'mode', 'paste' ],
			"\             [ 'cocstatus', 'currentfunction', 'readonly', 'filename', 'modified' ] ]
			"\ },
			"\ 'component_function': {
			"\   'cocstatus': 'coc#status',
			"\   'currentfunction': 'CocCurrentFunction'
			"\ },
			"\ }