Commit Graph

10 Commits

Author SHA1 Message Date
Kristofers Solo
237f7b72c1
Created commands (#18)
* Created `Runner` command

* Remove unnesessary temp variable

* Created `AutoRunner` command

`AutoRunner` command executes the `Runner` command every time a file is saved.

* Updated formatting

* Fix descriptions

* Created `AutoRunnerStop` command

`AutoRunnerStop` - stops `AutoRunner` and closes its window

* Automatic formatting

* Added command description to readme

* Update table

Added lua command column to "Commands" table.

* Update function description

Specified that `autorun` can accept buffer number as an argument.

* Fix `autorun` function

When saving a file, now function now checks if `_terminal_windows` exists and call the last shell command, otherwise it calls the vim command.

* Moved `user_commands`

`user_commands` now are created when `setup()` is called.

* Fix README

Removed the line stating that the `setup()` function in optional.
2023-09-03 10:35:14 -04:00
MarcHamamji
7bae8dd2f3 Add a desperate comment :( 2023-04-08 16:15:34 +03:00
MarcHamamji
9256c1659d Allow running the code in the terminal (#1) 2023-04-08 13:33:16 +03:00
MarcHamamji
161586ae1c Merge from main 2023-04-03 19:12:16 +03:00
MarcHamamji
e09de414c7 Run StyLua 2023-04-03 19:01:05 +03:00
Kurenshe Nurdaulet
f4f42e02ec Fix single quotes 2023-04-03 21:38:35 +06:00
Kurenshe Nurdaulet
ed804de3fa Add options for window 2023-04-03 12:09:25 +06:00
MarcHamamji
f1063e0991 Fix bugs 2023-02-14 14:53:39 +02:00
MarcHamamji
cffa48e7a2 Use terminal buffer instead of normal buffer 2023-02-10 23:42:13 +02:00
MarcHamamji
c7f90b5bba MVP 2023-02-03 20:39:38 +02:00