Commit Graph

513 Commits

Author SHA1 Message Date
shadmansaleh 77c4c47482 Enhance: Cleanup eval_lua component and document it 2021-04-12 21:59:55 +06:00
shadmansaleh 287e5def31 Enhance: Stop modifying global state.
v:lua.require is used insted of exposing function as global variable.
2021-04-12 21:59:55 +06:00
shadmansaleh 82f68c42df Enhance: Cterm colors only loaded when termguicolors = false 2021-04-12 21:59:55 +06:00
shadmansaleh 67d0989051 Doc: Mention lightline theme converter 2021-04-12 21:59:55 +06:00
shadmansaleh f2d9d14671 Doc: Add evil_lualine config and screenshot 2021-04-12 21:59:55 +06:00
shadmansaleh 9e957e341e Feat: Allow color option to accept highlight group 2021-04-12 21:59:55 +06:00
shadmansaleh 7c6d1f9074 Update options section of docs . 2021-04-12 21:59:50 +06:00
shadmansaleh d6758af65b Feat: Add condition option 2021-04-12 21:51:31 +06:00
Shadman cdd7dc44a4
Enhance: Adding issue templates (#172)
* Enhance: Adding issue templates
2021-04-12 21:43:33 +06:00
Hubert Pelczarski 00186432d3
docs: updated lualine.txt (#171)
* docs: updated lualine.txt

* docs: fixed typo
2021-04-12 17:04:32 +02:00
Shadman 7eacdb787f
fix: hostname component not working (#170) 2021-04-12 14:04:43 +02:00
Hubert Pelczarski 3e94f2786f
feat: addad chad&nnvim tree extensions (#167)
* 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 (#141) 2021-04-11 10:20:41 +02:00
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
Johannes Wienke 37dfbe787c
docs: comparism -> comparison (#159) 2021-04-07 02:45:50 +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 a105e96ddc docs: fixed lua function doc 2021-03-22 15:13:51 +01:00
hoob3rt f80d5adb41 docs: fix lualine.txt separator disable snippet 2021-03-19 03:53:59 +01:00
hoob3rt 9db1a38357 docs: fixed separator disable snippet 2021-03-19 03:52:13 +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
Hubert Pelczarski 745cdde237
docs: fixed theme setup in CONTRIBUTING.md 2021-03-17 01:37:34 +01:00
Hubert Pelczarski 2d3eb07bc8
docs: removed extension guide from CONTRIBUTING.md 2021-03-17 01:35:49 +01:00
Hubert Pelczarski 0a6c16a5d9
Merge pull request #132 from hoob3rt/setup
refactor: moving to setup function
2021-03-17 01:22:58 +01:00
hoob3rt b16b632057 docs: updated README.md to use setup function 2021-03-17 01:22:00 +01:00
hoob3rt 1fea8b7fe5 refactor: moving to setup function 2021-03-17 01:02:13 +01:00
hoob3rt 62cdc8ec98 feat: added LuaFormatter config file 2021-03-16 00:38:05 +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 2f53c50e39 docs: fixed typo in README.md 2021-03-16 00:02:22 +01:00
hoob3rt a1ffa2a39e fix: removed extensions from tabline 2021-03-16 00:01:04 +01:00
hoob3rt 5ca719a5a7 docs: added available extensions to README.md 2021-03-16 00:00:45 +01:00
Joshua Chapman 625792f5f6
docs: update CONTRIBUTING.md (#131)
Fix setting the custom theme documentation from `lualine.theme` to `lualine.options.theme`.
2021-03-15 18:29:34 +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 be0259a3b8 Add tags to .gitignore 2021-03-14 20:14:42 +06:00