Hubert Pelczarski
2b32fb090f
fix: theme type check fix ( #165 )
...
* fix: theme type check fix
* fix: string concat bug
* fix: removed semmicolon
2021-04-08 13:06:31 +02:00
John Sun
23e6bd5dd7
fix: Restore support for dictionary-typed theme setup parameter ( #162 )
...
* support passing in dictionary as theme definition
Allows setting up lualine with a theme dictionary like:
```lua
setup{
theme = { normal = {...}; insert = { ... }; }
}
```
this was the original behaviour before 37a3b8cc
.
* comment
2021-04-08 09:52:57 +02:00
Shadman
37a3b8cc82
feat: enhance theme ( #153 )
...
* Enhance Theme
- loaded theme table is nolonger stored in configs and thus not passed
to components. Insted it's cached in highlights.lua
- Reintroducing clear_highlights turns out themes can still change if
setup is called more than once
* Add error messege for invalid theme
It stops lualine from crashing in such incedent
* Apply lua-format
* Small tweeks
2021-04-07 02:34:36 +02:00
Jaekyeom Kim
7f1d7ba3fb
fix: displaying relative paths. ( #155 )
2021-03-31 16:47:38 +02:00
Evan Travers
e057def23e
forest_night -> everforest ( #152 )
...
https://github.com/sainnhe/everforest/issues/43
2021-03-31 03:35:38 +02:00
hoob3rt
3f1939d78f
refactor: removed unused local M
2021-03-30 15:42:38 +02:00
Yusei Ueno
a2721e5ada
feat: add diagnostic sources option vim_lsp ( #151 )
2021-03-29 16:53:19 +02:00
Shadman
78b8260084
Feat: Adding readonly to filestatus ( #149 )
2021-03-28 03:38:47 +02:00
Shadman
a3037fbf0b
BugFix: diagnostics highlight extraction ( #144 )
2021-03-26 13:51:48 +01:00
Hubert Pelczarski
62c22d0f05
refactor: completely moved to setup function ( #133 )
2021-03-25 12:03:43 +01:00
JayceFayne
7bf5076ece
fix: typo in warning message
2021-03-23 19:53:53 +01:00
Shadman
7c8ddf307b
refactor: highlight improvements
...
* Refactor highlight restoring after ColorScheme
Previously custom highlights/ component highlights had to call
expand_set_theme to make them restored . That's unintuative . Now any
highlight created by lualine.highlight.highlight() will be restored :)
* Renamed component -> var_name | Proper BugFix
2021-03-22 15:29:37 +01:00
hoob3rt
c171d75797
feat: added hostname component
2021-03-22 15:17:27 +01:00
hoob3rt
0a7f268970
refactor: async.lua -> utils/async.lua
2021-03-18 02:24:44 +01:00
hoob3rt
21ea1acc61
refactor: config.lua -> defaults.lua
2021-03-18 02:13:40 +01:00
hoob3rt
bfc9c744d7
refactor: moved section utils to new file
2021-03-18 01:57:59 +01:00
hoob3rt
1fea8b7fe5
refactor: moving to setup function
2021-03-17 01:02:13 +01:00
hoob3rt
b31b66fa79
refactor: applied lua-format to all files
2021-03-16 00:37:46 +01:00
hoob3rt
aec3bb9195
refactor: lualine.lua -> init.lua
2021-03-16 00:14:41 +01:00
Hubert Pelczarski
3e0332e6d2
refactor: removed ability to set theme in runtime ( #130 )
2021-03-16 00:13:10 +01:00
Hubert Pelczarski
6e64822f50
Merge pull request #126 from hoob3rt/extensions
2021-03-16 00:06:06 +01:00
hoob3rt
74323eb08b
refactor: simplified extension sections
2021-03-16 00:05:41 +01:00
hoob3rt
a1ffa2a39e
fix: removed extensions from tabline
2021-03-16 00:01:04 +01:00
Hubert Pelczarski
d5150f481e
Merge pull request #129 from shadmansaleh/fix_bug_component_highlights_not_blending_with_bg
...
fix bug component highlights not blending with bg
2021-03-14 16:01:27 +01:00
shadmansaleh
daa4cd45b3
Restructure mode conponent
2021-03-14 20:14:19 +06:00
shadmansaleh
b79fd4cc24
Bug fix: componnet highlight not blending
2021-03-14 20:13:46 +06:00
hoob3rt
2dcdd73e33
Merge branch 'master' of https://github.com/hoob3rt/lualine.nvim
2021-03-14 14:49:42 +01:00
hoob3rt
a0346824aa
refactor: removed all signify file
2021-03-14 14:49:04 +01:00
Shadman
2c2b8b0906
Fix #125 (diff highlight affecting other component) ( #128 )
2021-03-14 14:38:19 +01:00
hoob3rt
bbcd9e43be
fix: added tabline handling to extensions
2021-03-13 01:21:37 +01:00
hoob3rt
ccca56d057
feat: updated fzf extension to new api
2021-03-13 00:52:28 +01:00
hoob3rt
303edcfe96
feat: added nerdtree extension
2021-03-11 00:32:13 +01:00
hoob3rt
add3045cdc
Revert "feat: added nerdtree extension"
...
This reverts commit da46b69e3a
.
2021-03-11 00:31:57 +01:00
hoob3rt
da46b69e3a
feat: added nerdtree extension
2021-03-11 00:30:04 +01:00
hoob3rt
64a378d670
feat: added fugitive extension
2021-03-11 00:14:37 +01:00
hoob3rt
a4690ca4cf
Merge branch 'master' into extensions
2021-03-11 00:13:18 +01:00
hoob3rt
c19724fbaa
feat: made extensions consistent with statusline
2021-03-11 00:07:38 +01:00
Shadman
332f488e24
feat: add tabline support ( #92 )
2021-03-06 16:03:00 +01:00
Shadman
87899eefc5
feat: add automatic theme generation ( #104 )
2021-03-02 14:01:34 +01:00
Shadman
8624f7c14e
Feat: add configuration in viml and status function ( #114 )
2021-03-02 13:58:34 +01:00
JINNOUCHI Yasushi
e4723362c4
feat: enable to set symbols for diff component ( #116 )
...
Changes logic to store diffs in `git_diff` because the original has
stored them in a list:
```
{1, 2, 3} => {added = 1, modified = 2, removed = 3}
```
2021-03-02 01:10:23 +01:00
IGI-111
8c8a489612
feat: palenight theme ( #123 )
...
Based on https://github.com/drewtempelmeyer/palenight.vim
2021-02-28 04:16:57 +01:00
Shadman
d019c04afc
fix: filetype icon not updating with file change ( #119 )
2021-02-27 19:31:18 +01:00
Nick Friday
ed7d186987
fix: made dracula theme similar to other themes ( #121 )
2021-02-27 17:13:51 +01:00
Shadman
ec47bb0447
fix: wrong data displayed by diff component ( #117 )
...
Sometimes async process outputs partial data. Previously that data was
processed imediatly causing wrong results. Now the data is processed
after async processes finishes
2021-02-24 18:03:24 +01:00
Shadman
f47f68cee6
feat: drop signify dependency (added diff component) ( #87 )
2021-02-23 13:54:04 +01:00
Shadman
e59ac51ca9
refactor: removed cterm colors from themes ( #115 )
2021-02-22 21:28:29 +01:00
hoob3rt
d5ac4a8ffd
fix: handle separator config edge case
...
lualine.options.component_separators='|' now behaves the same as lualine.options.component_separators={'|'}
2021-02-22 20:48:23 +01:00
JINNOUCHI Yasushi
7115aa8f8b
feat: customize symbols for the diagnostics component ( #112 )
2021-02-22 12:43:51 +01:00
hoob3rt
ee3c7225b8
fix: removed redundant theme
2021-02-22 02:56:49 +01:00
Hubert Pelczarski
6eeeb16ed4
feat: diagnostics support ( #95 )
2021-02-22 01:59:35 +01:00
Shadman
3b36b5a151
fix: signify highlight fix ( #108 )
2021-02-22 00:07:44 +01:00
Shadman
9505115133
enhancement: Donn't create unnececery hl groups ( #105 )
2021-02-21 15:37:59 +01:00
hoob3rt
66a6cb3c9d
refactor: fix #100
2021-02-20 16:59:28 +01:00
hoob3rt
3fecc953aa
fix: fixed wrong highlight groups in signify
2021-02-20 05:09:17 +01:00
Shadman
202487d2ef
feat: powerline like section seperators ( #94 )
2021-02-20 04:21:05 +01:00
Shadman
0dd0a23cac
feat: add colors to signify ( #61 )
...
Co-authored-by: hoob3rt <pelczarskihubert@gmail.com>
2021-02-17 19:29:50 +01:00
Shadman
ec55986f3e
fix: reintroduction of #32 ( #97 )
2021-02-17 11:47:03 +01:00
Shadman
395d7cbb69
fix: filename component
2021-02-16 18:35:56 +01:00
Shadman
20d7f33ef9
feat: adding component specific options ( #60 )
2021-02-15 19:09:12 +01:00
Hubert Pelczarski
55c0f0fe9a
docs: added license to all source files
2021-02-13 01:03:57 +01:00
hoob3rt
937a56d5ef
fix: theme not changing at runtime
2021-02-12 13:01:37 +01:00
Shadman
8a4baa804b
Added other sources for component configuration ( #53 )
2021-02-10 11:40:29 +01:00
Shadman
0325203fa9
More themes ( #74 )
...
* Adding themes
- Tomorrow.lua
- ayu_dark.lua
- ayu_light.lua
- ayu_mirage.lua
- iceberg_dark.lua
- iceberg_light.lua
- jellybeans.lua
- oceanicnext.lua
- seoul256.lua
Co-authored-by: hoob3rt <41551030+hoob3rt@users.noreply.github.com>
2021-02-07 22:54:04 +01:00
Shadman
e37b3ac929
Fix #33 ( #79 )
2021-02-05 13:29:34 +01:00
Shadman
66ab809e0e
Update onedark+onelight theme ( #70 )
2021-02-05 09:48:05 +01:00
Beau
5b812b307a
Don't show signify status symbols if the count < 1 ( #83 )
...
* Don't show signify status symbols if the count < 1
2021-02-04 22:12:35 +01:00
Shadman
1ade51b53d
Adding gruvbox_metarial theme ( #72 )
...
* Adding gruvbox_metarial theme
Co-authored-by: hoob3rt <41551030+hoob3rt@users.noreply.github.com>
2021-02-04 22:07:57 +01:00
Hennadii Chernyshchyk
71452fd42e
Add codedark theme ( #81 )
...
* Add codedark theme
2021-02-04 21:46:32 +01:00
Shadman
a9937db37f
Add nightfly theme ( #71 )
...
* Add nightfly theme
Co-authored-by: hoob3rt <41551030+hoob3rt@users.noreply.github.com>
2021-02-04 21:10:25 +01:00
Shadman
5eb42599ce
Add papercolor theme ( #69 )
...
* Adding papercolor theme
* Add papercolor light
2021-02-04 21:07:07 +01:00
Shadman
d904b753a8
Add 16color theme ( #66 )
...
* Adding 16color theme
2021-02-04 21:04:41 +01:00
Shadman
4456e5ff4a
Adding material theme ( #65 )
...
* Adding material theme
Co-authored-by: hoob3rt <41551030+hoob3rt@users.noreply.github.com>
2021-02-04 21:02:53 +01:00
Shadman
0a7b9ff0cb
Adding wombat theme ( #64 )
...
* Adding wombat theme
Co-authored-by: hoob3rt <41551030+hoob3rt@users.noreply.github.com>
2021-02-04 20:57:38 +01:00
Shadman
82e0d7d2f5
Add molokai theme ( #62 )
...
* Added molokai theme
2021-02-04 20:54:36 +01:00
hoob3rt
8c09fc8228
removed print from solarized
2021-01-31 08:29:14 +01:00
Shadman
df0d5f99cb
Added solarized theme ( #63 )
...
* Added solarized theme
2021-01-31 08:27:55 +01:00
Shadman
09835e2a1a
Insted of calling git branch is read from HEAD ( #68 )
...
Co-authored-by: hoob3rt <pelczarskihubert@gmail.com>
2021-01-20 11:19:10 +01:00
Shadman
10a6087a74
run vimscript inside vim.api.nvim_exec ( #73 )
2021-01-15 05:15:04 +01:00
Shadman
823665c511
Wider range of mode support ( #57 )
...
* Wider range of mode support
* Remove unnecessary entry in modes
Co-authored-by: hoob3rt <pelczarskihubert@gmail.com>
2021-01-11 04:52:34 +01:00
Shadman
8ff22c3935
Fixed signify component apearing on non repo buffer ( #58 )
...
* Fixed signify component apearing on non repo buffer
2021-01-11 03:44:53 +01:00
Shadman
2c1888e947
Putting autocomands in a group ( #59 )
...
* Warp autocmd with augroup
2021-01-11 03:40:09 +01:00
Liam Jarvis
8742b6e466
Added Completion Mode Label ( #56 )
2021-01-09 18:27:53 +01:00
Shadman
72e5c71ebd
Bug fix Theme not rendered properly ( #54 )
2021-01-09 12:01:02 +01:00
Shadman
2d39a243e7
Fix branch not changing ( #48 )
...
* Fix branch not changing
* Added stderr detection to remove git_branch
* fixed bug in terminal windows
* changed error handling to pcall instead of match
Co-authored-by: hoob3rt <pelczarskihubert@gmail.com>
2021-01-08 10:51:11 +01:00
Shadman
75a9c5c317
Handle undefined mode && fallback to normal mode highlighting ( #47 )
2021-01-08 04:52:30 +01:00
Shadman
7460fe5aa2
Added notermguicolor support and special effects ( #27 )
...
* Added notermguicolor support and special effects
* Added notermgui support
* Exposed special parameters for highlight(like bold,italic) to themes
with gui like to bold "B" in normal mode do normal.b.gui = 'bold'
* Changed CONTRIBUTING.md to reflect current notermguicolor support
* Added calculating cterm values from rgb
* refactored highlight function
* Removed 'bold' default for a element
* Updated themes
* Adding function genarated cterm values to themes
* Updating CONTRIBUTING.md
* made colorschemes more compact
Co-authored-by: hoob3rt <pelczarskihubert@gmail.com>
2021-01-08 02:35:09 +01:00
hoob3rt
84b554f3bf
added select mode
2021-01-06 14:52:05 +01:00
hoob3rt
4cf4ac814d
bug quickfix
...
`mode`, `branch` and `signify` components stopped working after last
update, now they do
2021-01-06 02:36:44 +01:00
hoob3rt
710d5ad838
fixed filetype icon bug
2021-01-06 00:43:36 +01:00
Shadman
6da4406a5a
Themes now fallback to normal mode theme ( #28 )
...
* Themes now fallback to normal mode theme
* Refactored apply_default function
* refactoring apply defaults
2021-01-05 16:08:56 +01:00
Brandon
24db1a62e8
Added forest_night theme ( #30 )
...
* Add forest_night theme
Ported from forest-night's [lightline
theme](https://github.com/sainnhe/forest-night/blob/master/autoload/lightline/colorscheme/forest_night.vim ).
* Add forest_night to THEMES.md
2021-01-05 00:15:03 +01:00
Shadman
4fb9f90f74
Added powerline theme ( #23 )
...
* Added a powerline theme
Credit: Took some help from lightline powerline theme
* Updated THEMES.md
* Small tweek to colors
* swaped onedark and powerline in THEMES.md
2021-01-04 13:00:03 +01:00
Shadman
3a82c3b345
Added nord theme ( #24 )
...
* Added nord theme
Credit : Ported from lightline nord theme
* Added nord to THEMES.md
* Checked nord theme in README.md
2021-01-04 12:15:39 +01:00
hoob3rt
39dc034335
updated style to be inline with vim.api
2021-01-04 02:14:29 +01:00
hoob3rt
f62c0d4f22
added initial async support ( #20 )
...
* added inital async setup
* update README.md
2021-01-04 01:38:01 +01:00
hoob3rt
3ab7066718
fixed highlight bug ( #19 )
...
* fixed live colorscheme change also applying to lualine
* fixed theme definition in config not working
2021-01-04 01:17:51 +01:00
hoob3rt
0194740d28
added signify component ( #18 )
2021-01-04 00:37:49 +01:00
Eli W. Hunter
b8ad8a13b2
Use table.concat instead of string concatentation ( #7 )
2021-01-03 20:11:22 +01:00
Kenneth Lear
08d2879f9b
Porting onedark theme ( #8 )
...
* Porting onedark theme
* Fixed incorrect foreground background configuration for onedark theme. Also set command mode in onedark theme to be normal
* Adding onedark theme to available themes list in README
2021-01-02 20:07:08 +01:00