Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Yet another theme for lightline

NotificationsYou must be signed in to change notification settings

delphinus/lightline-delphinus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

This theme is forlightline that is a statusline plugin for Vim. This has features below.

Themes

Install

Basic setting

calldein#add('delphinus/lightline-delphinus')calldein#add('itchyny/lightline.vim')" optionalcalldein#add('ryanoasis/vim-devicons')calldein#add('dense-analysis/ale')calldein#add('majutsushi/tagbar')calldein#add('airblade/vim-gitgutter')calldein#add('mhinz/vim-signify')

TOML setting

[[plugins]]repo ='delphinus/lightline-delphinus'[[plugins]]repo ='itchyny/lightline.vim'# optional[[plugins]]repo ='ryanoasis/vim-devicons'[[plugins]]repo ='dense-analysis/ale'[[plugins]]repo ='majutsushi/tagbar'

for other plugin managers

TODO

other setting

g:lightline_delphinus_use_powerline_glyphs

If true, it uses glyphs forPowerline. You should use this options with fonts frompowerline-fonts or natively supported ones such asIosevka.

g:lightline_delphinus_use_nerd_fonts_glyphs

If true, it uses glyphs fornerd-fonts. You should use this options withpatched fonts.

g:lightline_delphinus_colorscheme

Can be setsolarized_improved (Default) ornord_improved.

g:lightline_delphinus_tagbar_enable

Enable tagbar feature. See below.

g:lightline_delphinus_gitgutter_enable

Enable gitgutter feature. See below.

Can be setsolarized_improved (Default) ornord_improved.

ALE setting (optional)

If you want to use neat glyphs statusline for ALE, you should add some settings for ALE. Below is an example that I used in capturing GIF above.

" nr2char(...) is for describing icons from deviconsletg:ale_echo_msg_error_str=nr2char(0xf421) .''letg:ale_echo_msg_warning_str=nr2char(0xf420) .''letg:ale_echo_msg_info_str=nr2char(0xf05a) .''letg:ale_echo_msg_format='%severity%  %linter% - %s'letg:ale_sign_column_always=1letg:ale_sign_error=g:ale_echo_msg_error_strletg:ale_sign_warning=g:ale_echo_msg_warning_strletg:ale_statusline_format= [\g:ale_echo_msg_error_str .' %d',\g:ale_echo_msg_warning_str .' %d',\nr2char(0xf4a1) .'']

tagbar setting (optional)

lightline-delphinus can detect installedtagbar and show function names on cursor bytagbar#current(). The info from tagbar will be updated once per second at the maximum.

Setlet g:lightline_delphinus_tagbar_enable = 1 to enable this.

2018-07-12 14 22 05

gitgutter setting (optional)

lightline-delphinus can detect installedvim-gitgutter and show diff info calculated fromgitgutter#hunk#hunks().

Setlet g:lightline_delphinus_gitgutter_enable = 1 to enable this.

2018-10-27 10 43 47

signify setting (optional)

lightline-delphinus can detect installedvim-signify and show diff info calculated fromsy#repo#get_stats().

Setlet g:lightline_delphinus_signify_enable = 1 to enable this.

スクリーンショット 0001-10-03 17 58 40

Contribution

The colorscheme's are formerly generated because the sources are a bit complicated and take long time to be evaluated in Vim.

  • source:autoload/lightline/delphinus/colorscheme/nord_improved.vim
  • generated:autoload/lightline/colorscheme/nord_improved.vim

So you should not edit the colorscheme's directly. You should edit the sources, and run the script to generate.

# edit the sourcevim autoload/lightline/delphinus/colorscheme/nord_improved.vim# run the script# this needs Python 3.6+bin/dump.py

About

Yet another theme for lightline

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors4

  •  
  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp