Commit Graph

3 Commits

Author SHA1 Message Date
Nathan Lanza 27b52acee7
Only attempt to use dirvish if b:dirvish exists
This was causing persistent errors when you run, for example,

```
ls | nvim -c 'setf dirvish'
```

as dirvish will not yet have set that local variable yet airline will
attempt to use it.
2020-09-15 12:30:27 +02:00
PratikBhusal de76234a0e vim-dirvish: Fixed bugs and added better include guards
Fixes issue #2142.

These changes primarily focused on making the include guards more robust
and simplify how the path for w:airline_section_c was generated.
Credits goes to @kazukazuinaina for improving on my original
implementation.
2020-05-30 00:25:56 -05:00
PratikBhusal e0838c704a Added vim-dirvish support
Matched VCS format of Netrw to only show branch name.
Filetype hidden as it is a duplicate on the left side.
File encoding hidden as it does not matter in dirvish buffer.
Removed unnecessary current column information
2020-05-25 19:34:52 -05:00