157 Commits

Author SHA1 Message Date
Shadman
7eacdb787f
fix: hostname component not working () 2021-04-12 14:04:43 +02:00
Hubert Pelczarski
3e94f2786f
feat: addad chad&nnvim tree extensions ()
* feat: addad chad&nnvim tree extensions

* fix: updated all extensions

* applied suggestions
2021-04-12 14:03:25 +02:00
Shadman
1b81b0021f
Refactor: Components now use OOP style () 2021-04-11 10:20:41 +02:00
Hubert Pelczarski
2b32fb090f
fix: theme type check fix ()
* 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 ()
* 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 ()
* 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. () 2021-03-31 16:47:38 +02:00
Evan Travers
e057def23e
forest_night -> everforest ()
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 () 2021-03-29 16:53:19 +02:00
Shadman
78b8260084
Feat: Adding readonly to filestatus () 2021-03-28 03:38:47 +02:00
Shadman
a3037fbf0b
BugFix: diagnostics highlight extraction () 2021-03-26 13:51:48 +01:00
Hubert Pelczarski
62c22d0f05
refactor: completely moved to setup function () 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 () 2021-03-16 00:13:10 +01:00
Hubert Pelczarski
6e64822f50
Merge pull request 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 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 (diff highlight affecting other component) () 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 da46b69e3af132706ad8f796ddb105a2a80f1062.
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 () 2021-03-06 16:03:00 +01:00
Shadman
87899eefc5
feat: add automatic theme generation () 2021-03-02 14:01:34 +01:00
Shadman
8624f7c14e
Feat: add configuration in viml and status function () 2021-03-02 13:58:34 +01:00
JINNOUCHI Yasushi
e4723362c4
feat: enable to set symbols for diff component ()
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 ()
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 () 2021-02-27 19:31:18 +01:00
Nick Friday
ed7d186987
fix: made dracula theme similar to other themes () 2021-02-27 17:13:51 +01:00
Shadman
ec47bb0447
fix: wrong data displayed by diff component ()
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) () 2021-02-23 13:54:04 +01:00
Shadman
e59ac51ca9
refactor: removed cterm colors from themes () 2021-02-22 21:28:29 +01:00