Commit graph

39 commits

Author SHA1 Message Date
Riccardo Mazzarini
3d3e8d4acc
Port to edition 2024 (#246) 2025-05-23 17:42:12 +02:00
Riccardo Mazzarini
a72ad38339
Fix nvim_oxi::api::notify() (#208)
* Remove `mlua` from the `dev-dependencies`

* Test `api::notify()`

* Fix `api::notify()`'s API

* Test `api::notify()` w/ custom provider

* Add an `Arena` argument to `nvim_notify` on 0.10 and Nightly

* Directly implement `Error` for `types::Error`

* Test that errors returned by `vim.notify` are propagated

* Fix using `mlua` in CI

* Don't test `notify_custom{_err}` on `v0.9.5` on macOS and Windows
2024-12-27 03:28:46 +08:00
Riccardo Mazzarini
f4bf0da0b3
Fix unused import in libuv's example 2024-12-22 02:09:26 +08:00
replcat
6f7be8c335
deps: update mlua to 0.10 2024-10-26 13:50:23 +11:00
Riccardo Mazzarini
3ff136338b
lua: make FFI types CamelCase 2024-10-01 18:36:59 +08:00
Riccardo Mazzarini
ef4a9c829d
avoid wrapping schedule's return in unnecessary Ok 2024-05-28 08:56:47 +08:00
Riccardo Mazzarini
c2353ae2cf
libuv: update to use IntoResult 2024-05-27 21:23:48 +08:00
Riccardo Mazzarini
74d42418cf
examples: update to use IntoResult 2024-05-27 21:06:48 +08:00
Riccardo Mazzarini
c856b56faa
macros: rename module to plugin 2024-03-02 10:55:39 +01:00
Riccardo Mazzarini
159c4ad1ed
examples: refactors 2024-02-17 23:36:49 +01:00
Sandro-Alessio Gierens
1f3d67f7c9 docs(examples): update version to 0.3 in crate setup section
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2023-11-15 23:37:23 +01:00
noib3
c04ba8b822
📦 update flake.lock 2022-10-08 20:35:49 +02:00
noib3
dc9eacf577
💅 refactorings 2022-10-08 20:35:47 +02:00
noib3
9d199cf87e
💅 fix mechanic example 2022-10-04 01:34:54 +02:00
noib3
1ced39854d
🐛 (luajit-bindings) read values before popping them off the stack 2022-10-03 19:02:25 +02:00
noib3
d67a61dbae
💅 remove Option from all api functions 2022-10-02 01:48:23 +02:00
noib3
0f655dc7dd
💅 refactored Poppable trait 2022-10-01 21:38:50 +02:00
noib3
c8510dfd04
💅 rename Lua{Poppable,Pushable} to Poppable, Pushable 2022-10-01 11:23:07 +02:00
noib3
e3f47b1461
💅 move opts and types modules under api 2022-09-30 17:11:30 +02:00
noib3
403b51d92b
🔧 fixed mechanic example 2022-09-29 16:36:59 +02:00
noib3
0c439fa061
💅 error handling fixes 2022-09-28 18:15:29 +02:00
noib3
a75686e88f
💅 moved all the examples to the examples directory 2022-09-27 00:15:55 +02:00
noib3
26381316ae
💅 moved lua module into its own crate 2022-09-25 20:10:03 +02:00
noib3
eba5981e7b
💅 TimerHandle takes Durations by value 2022-09-25 11:24:40 +02:00
noib3
6caa2311ae
💅 moved AsyncHandle into nvim-libuv 2022-09-25 01:30:34 +02:00
noib3
ef725c4d28
added new nvim-libuv crate and TimerHandle 2022-09-25 00:03:42 +02:00
noib3
394a1b1e13
💅 rename loop (both feature and module) to libuv 2022-09-24 19:43:30 +02:00
noib3
91f981c64e
🔧 restructuring examples dirs 2022-09-24 19:34:46 +02:00
noib3
6905d8d9f1
📗 update the examples' README.md 2022-08-29 13:09:26 +02:00
noib3
abf70cbf2f
added new_async behind loop feature flag 2022-08-15 22:28:20 +02:00
noib3
71e8f28ad6
feat: add mlua integration 2022-08-08 00:34:49 +02:00
noib3
6bcef91359
📗 (examples) added Lua snippet for mechanic 2022-07-17 16:21:30 +02:00
noib3
5c5c2957e2
📦 v0.1.3 2022-07-17 16:17:50 +02:00
noib3
b2d1414cf5
📗 added mechanic example 2022-07-17 16:07:36 +02:00
noib3
ef98575964
📗 added api example 2022-07-17 12:53:23 +02:00
noib3
23445d798e
📗 added crate setup instructions 2022-07-16 19:49:31 +02:00
noib3
307c9e75de
📗 adding a README 2022-07-15 16:54:35 +02:00
noib3
e9bdec20e9
📗 added basic-calc example 2022-07-12 16:24:33 +02:00
noib3
1a9c80156a
📗 (examples) added async-apples, WIP 2022-07-03 14:51:41 +02:00