Tim Bedard
2aaf434094
feat: add separate hint diagnostic ( #241 )
...
* add separate hint diagnostic
* change to lightbulb icon
2021-05-25 22:13:43 +02:00
shadmansaleh
a560209c24
Refractor filetype and add disable_text option
2021-05-21 11:23:09 +06:00
shadmansaleh
ef47235330
Add component evaluation for inactive sections
2021-05-21 11:11:25 +06:00
Hubert Pelczarski
3702e682ac
refactor: remove filename warning ( #228 )
2021-05-18 17:13:13 +02:00
Hubert Pelczarski
292609e3ad
docs: vimscript removal prep ( #243 )
2021-05-13 23:19:11 +02:00
JL Bas
1ee99e0473
enhancement: show diff when component is loaded ( #234 )
2021-05-13 12:24:51 +02:00
Shadman
33aaabe672
Fix filename error message ( #237 )
2021-05-12 15:27:37 +06:00
Jonathan Gin
bfae320155
feat: color filetype icons when using nvim-devicons ( #222 )
2021-05-11 14:55:18 +02:00
Hubert Pelczarski
73a6c8fadf
feat: dynamic shortening for filetype ( #224 )
...
* feat: dynamic shortening for filetype
* feat: redraw statusline on VimResized
Co-authored-by: NullVoxPopuli <LPSego3+dev@gmail.com>
Co-authored-by: shadmansaleh <shadmansaleh3@gmail.com>
2021-05-11 12:47:09 +02:00
Hubert Pelczarski
82826ef661
refactor: moved loading to new module ( #182 )
...
* refactor: moved loading to new module
* refactor: check_single_separator
* refactor: simplified separator fixing
* refactor: tests/ -> lua/tests/
* refactor: moved to nvim_err_writeln for errors
* feat: moved config parsing to config.lua
* feat: get config directly from config module
* feat: added load_all function
* tests: config parsing tests
* added assert to luacheck globals
2021-05-09 23:11:18 +02:00
Folke Lemaitre
c8b96850c9
fix: try LspDiagnostics colors first before fallling back to Diff colors ( #216 )
2021-05-07 13:03:11 +02:00
Shadman
2f17e432ee
fix: typo functon -> function ( #191 )
2021-04-22 21:09:34 +02:00
Tim Bedard
e6cc09c2e9
feat(filename): add support for custom filename symbols (modified, readonly) ( #185 )
...
* feat(filename): add support for custom filename symbols (modified, readonly)
* update docs
2021-04-20 22:25:25 +06:00
Tim Bedard
96938c5db2
style: Spell fix instence -> instance ( #184 )
2021-04-20 09:02:21 +06:00
Shadman
2a222d7ad6
Better fix to nil on vimfunc ( #178 )
2021-04-14 18:25:34 +06:00
Shadman
dac7a290df
BugFix: fix vim functions displaying nil ( #177 )
2021-04-14 10:07:19 +06:00
Shadman
aa844a9555
BugFix: Fix function component not working ( #175 )
...
When the provided function takes an optional argument the previous
implementation causes error.
2021-04-13 23:09:01 +06:00
Shadman
4f53d053a1
Refactor: Remove cterm from hlighlight extractor ( #174 )
...
- remove cterm color extraction
- fix lint issues
- apply lua-format
2021-04-13 18:36:51 +06:00
shadmansaleh
77c4c47482
Enhance: Cleanup eval_lua component and document it
2021-04-12 21:59:55 +06:00
Shadman
7eacdb787f
fix: hostname component not working ( #170 )
2021-04-12 14:04:43 +02:00
Shadman
1b81b0021f
Refactor: Components now use OOP style ( #141 )
2021-04-11 10:20:41 +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
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
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
b31b66fa79
refactor: applied lua-format to all files
2021-03-16 00:37:46 +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
hoob3rt
a0346824aa
refactor: removed all signify file
2021-03-14 14:49:04 +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
Shadman
d019c04afc
fix: filetype icon not updating with file change ( #119 )
2021-02-27 19:31:18 +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
JINNOUCHI Yasushi
7115aa8f8b
feat: customize symbols for the diagnostics component ( #112 )
2021-02-22 12:43:51 +01:00
Hubert Pelczarski
6eeeb16ed4
feat: diagnostics support ( #95 )
2021-02-22 01:59:35 +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
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
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
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
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
Liam Jarvis
8742b6e466
Added Completion Mode Label ( #56 )
2021-01-09 18:27:53 +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
hoob3rt
84b554f3bf
added select mode
2021-01-06 14:52:05 +01:00
hoob3rt
710d5ad838
fixed filetype icon bug
2021-01-06 00:43:36 +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
0194740d28
added signify component ( #18 )
2021-01-04 00:37:49 +01:00
jarviliam
cde411d1b8
fixed the check if function 'WebDevIcons' exists
2020-12-31 12:12:40 +09:00
hoob3rt
fa6aa3c324
initial lualine setup
2020-12-30 15:48:51 +01:00