Commit Graph

10 Commits

Author SHA1 Message Date
kiyan42
697912429c reformat, refactor code, run fs command with luv.spawn 2020-04-26 14:46:20 +02:00
kiyan42
60adbfbdf3 fix: refacto path matchings throughout the code, change the way we call string methods 2020-04-25 15:11:14 +02:00
kiyan42
7fbcfa531c fix: relative paths with '-' breaking git
relative paths with '-' inside a `string.match` statement were not
matching properly due to the nature of lua matching patterns. Replacing
'-' with '%-' resolves the issue.
2020-04-23 21:03:18 +02:00
kiyan42
a33622179d refactoring to use config options from lua module 2020-03-04 14:58:37 +01:00
kiyan42
0b4c9d8143 add config option to disable the icons 2020-03-04 14:49:52 +01:00
kyazdani42
f397e1050c fix git parsing and init
- run `ls ROOT_PATH` on init to make sure we are in the right place
- match git path with `.*` to make sure we check when in a subdir
> it could cause issues though, fix this later with a better
> git interface
2020-02-19 23:01:52 +01:00
kyazdani42
05b5117f75 better git format and parsing 2020-02-19 16:46:25 +01:00
kyazdani42
1c4fb795fb add git refresh 2020-02-19 14:32:33 +01:00
kyazdani42
ac92bfd911 Faster git parsing
- fix a bug when removing nodes from huge dir
- only one `system` call for git status
- add relative paths to nodes
- parse git status from relative paths
2020-02-19 13:55:40 +01:00
kiyan42
f8fb6de9c6 add git integration 2020-02-18 18:22:05 +01:00