xaizek / vifm (License: GPLv2+) (since 2018-12-07)
Vifm is a file manager with curses interface, which provides Vi[m]-like environment for managing objects within file systems, extended with some useful ideas from mutt.
Commit 4341eb6b684f66fe84d948259170e78a5cb16210

Stylistic updates for lua/vifm_handlers unit
Author: xaizek
Author date (UTC): 2022-03-17 18:32
Committer name: xaizek
Committer date (UTC): 2022-03-17 18:32
Parent(s): f109b2ca970d66c940fb4a346a4fbb50144d70a2
Signing key: 99DC5E4DB05F6BE2
Tree: 980d828ed8d087e1e716309949214415d6019766
File Lines added Lines deleted
src/lua/vifm_handlers.c 4 5
src/lua/vifm_handlers.h 1 1
File src/lua/vifm_handlers.c changed (mode: 100644) (index 511d80481..0a85d18e4)
30 30 #include "../utils/string_array.h" #include "../utils/string_array.h"
31 31 #include "../plugins.h" #include "../plugins.h"
32 32 #include "../vifm.h" #include "../vifm.h"
33 #include "common.h"
34 33 #include "lua/lauxlib.h" #include "lua/lauxlib.h"
35 34 #include "lua/lua.h" #include "lua/lua.h"
35 #include "common.h"
36 36 #include "vifmentry.h" #include "vifmentry.h"
37 37 #include "vifmview.h" #include "vifmview.h"
38 38 #include "vlua_state.h" #include "vlua_state.h"
 
... ... vifm_handlers_view(vlua_t *vlua, const char viewer[], const char path[],
155 155 } }
156 156
157 157 void void
158 vifm_handlers_open(vlua_t *vlua, const char prog[],
159 const struct dir_entry_t *entry)
158 vifm_handlers_open(vlua_t *vlua, const char prog[], const dir_entry_t *entry)
160 159 { {
161 160 char *name = extract_handler_name(prog); char *name = extract_handler_name(prog);
162 161
 
... ... vifm_handlers_open(vlua_t *vlua, const char prog[],
197 196 } }
198 197
199 198 char * char *
200 vifm_handlers_make_status_line(vlua_t *vlua, const char format[],
201 struct view_t *view, int width)
199 vifm_handlers_make_status_line(vlua_t *vlua, const char format[], view_t *view,
200 int width)
202 201 { {
203 202 char *name = extract_handler_name(format); char *name = extract_handler_name(format);
204 203
File src/lua/vifm_handlers.h changed (mode: 100644) (index 781caf461..d6c628bf1)
... ... int vifm_handlers_present(struct vlua_t *vlua, const char cmd[]);
44 44 struct strlist_t vifm_handlers_view(struct vlua_t *vlua, const char viewer[], struct strlist_t vifm_handlers_view(struct vlua_t *vlua, const char viewer[],
45 45 const char path[], const struct preview_area_t *parea); const char path[], const struct preview_area_t *parea);
46 46
47 /* Invokes a fiel handler. */
47 /* Invokes a file handler. */
48 48 void vifm_handlers_open(struct vlua_t *vlua, const char prog[], void vifm_handlers_open(struct vlua_t *vlua, const char prog[],
49 49 const struct dir_entry_t *entry); const struct dir_entry_t *entry);
50 50
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/vifm

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/vifm

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master