Skip to content

Instantly share code, notes, and snippets.

@uhooi
Created August 6, 2022 12:21
Show Gist options
  • Save uhooi/522ef604db1c26043265fadbdcb22650 to your computer and use it in GitHub Desktop.
Save uhooi/522ef604db1c26043265fadbdcb22650 to your computer and use it in GitHub Desktop.
Minimal gin vimrc
syntax enable
filetype plugin indent on
set rtp+=~/temp/gin.vim
set rtp+=~/temp/denops.vim
set rtp+=~/temp/lightline.vim
let g:lightline = {
\ 'active': {
\ 'left': [
\ [ 'gitbranch' ]
\ ]
\ },
\ 'component_function': {
\ 'gitbranch': 'gin#component#branch#unicode',
\ },
\}
autocmd User GinComponentPost call lightline#update()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment