Riccardo Mazzarini
19307faa26
types: format
2024-11-01 09:21:43 +08:00
Sachin Charakhwal
9197625731
Merge remote-tracking branch 'upstream/main' into string-macro
2024-10-31 22:18:41 +05:30
Sachin Charakhwal
db11076f75
add nvim_oxi::string!
macro that produces nvim_oxi::String
s
...
types: rename `size` field to `len` in `String`
types: remove `#[repr(C)]` from `StringBuilder`
types: use the `String` type itself instead of redefining the fields in
`StringBuilder`
types: a less conservative reallocation for `StringBuilder`
types: update comment on deallocation in `StringBuilder`
types(string): keep the size of allocation in string to a power of 2.
2024-10-31 19:25:14 +05:30
Riccardo Mazzarini
e01ba4e847
api: add a mouse
field to Window{Config,Opts}
on nightly
...
Tracks
9b8907d905
.
2024-10-24 17:54:00 +08:00
Riccardo Mazzarini
20a793471d
chore: fix clippy
2024-10-07 18:18:08 +08:00
Riccardo Mazzarini
96d95c1641
api: add a hidden url
field to SetHighlightOpts
2024-10-07 18:12:43 +08:00
Riccardo Mazzarini
b566d7cec8
types: add String::to_str()
2024-10-03 14:58:43 +08:00
Riccardo Mazzarini
3e7ca96843
api: refactor echo()
to accept Into<String>
s for hl groups
2024-10-03 14:52:25 +08:00
Riccardo Mazzarini
d56ae4d6a0
chore: fix clippy
2024-10-02 11:18:33 +08:00
Riccardo Mazzarini
6a97c1589a
lua: import from core
over std
where possible
2024-10-01 18:36:59 +08:00
Riccardo Mazzarini
3ff136338b
lua: make FFI types CamelCase
2024-10-01 18:36:59 +08:00
Riccardo Mazzarini
95bfc3c4eb
chore: fix clippy
2024-08-30 17:35:40 +08:00
Riccardo Mazzarini
7dc6551be9
api: include SetExtmarkOpts::scoped
on nightly
2024-06-26 13:06:38 +08:00
myypo
20b667e587
api: make buffer
, tabpage
and window
id/handle_T accessible
2024-06-13 18:28:42 +03:00
Riccardo Mazzarini
286bedac9b
api: remove experimental features on nightly
...
upstream:
585ef66c12
2024-06-13 22:30:08 +08:00
Riccardo Mazzarini
9624b486e7
api: update ffi links
2024-05-28 10:47:43 +08:00
Riccardo Mazzarini
4b1867f589
api: convert features
2024-05-28 09:58:33 +08:00
Riccardo Mazzarini
70b071733e
oxi: add feature neovim-0-10
, remove neovim-0-8
2024-05-28 09:18:13 +08:00
Riccardo Mazzarini
33438339be
api: remove neovim-0-9
gates
2024-05-28 09:12:19 +08:00
Riccardo Mazzarini
ac1bfc00c0
api: remove neovim-0-8
-gated code
2024-05-28 09:03:54 +08:00
Riccardo Mazzarini
c2353ae2cf
libuv: update to use IntoResult
2024-05-27 21:23:48 +08:00
Riccardo Mazzarini
7f2177417d
api: convert the remaining functions to IntoResult
2024-05-27 21:23:28 +08:00
Riccardo Mazzarini
74d42418cf
examples: update to use IntoResult
2024-05-27 21:06:48 +08:00
Riccardo Mazzarini
92e2692f56
luajit: add IntoResult
2024-05-27 20:33:37 +08:00
Riccardo Mazzarini
22eb785009
api: add binding to nvim_get_hl
on nightly
2024-05-24 20:46:36 +08:00
Riccardo Mazzarini
7c49337379
api: add a few fields to HighlightInfos
2024-05-24 20:37:54 +08:00
Riccardo Mazzarini
64d822c65d
api: fix clippy
2024-05-24 19:54:31 +08:00
Riccardo Mazzarini
8cdc5900bc
api: add bindings to nvim_get_hl_ns()
on nightly
2024-05-22 23:26:29 +08:00
Riccardo Mazzarini
8f4b93f3c6
types: implement From<Cow<str>>
for String
2024-05-19 13:14:35 +08:00
Riccardo Mazzarini
1b05a03587
Merge pull request #167 from myypo/feat/add-nightly-open_win-split-support
...
api(win_config): add nightly open win split support
2024-05-14 02:13:46 +02:00
MyyPo
5425fdd773
api: fix nightly nvim__win_add_ns
, nvim__win_get_ns
, nvim__win_del_ns
2024-05-13 18:40:49 +03:00
MyyPo
8d71366011
fix the issue with open_win_basic_config
failing on non-nightly
2024-05-13 15:58:32 +03:00
MyyPo
cbc9c1da3f
api: fix CommandNArgs
Zero
and One
int representation
2024-05-12 22:54:21 +03:00
MyyPo
5185798308
api: refactor WindowRelativeTo
to use serde untagged
2024-05-10 22:04:56 +03:00
MyyPo
fab3d72fe5
api: add nvim nightly open_win split support
2024-05-10 22:04:45 +03:00
Riccardo Mazzarini
82f027a76b
api: fix docs
2024-05-06 00:16:24 +02:00
Riccardo Mazzarini
0c86899a3b
api: add binding to nvim_win_text_height
on nightly
2024-05-06 00:16:05 +02:00
Riccardo Mazzarini
0eb8eb7e9a
api: add bindings to nvim_exec2
on nightly
2024-05-05 23:44:46 +02:00
Riccardo Mazzarini
ecba23d321
api: rename OptionValueOpts
to OptionOpts
2024-05-03 23:52:23 +02:00
Riccardo Mazzarini
05148e77b7
api: add bindings to nvim_get_option_info2
on nightly
2024-05-03 23:49:23 +02:00
Riccardo Mazzarini
041cf14e04
api: remove SetExtmarkOpts::_subpriority
on nightly
...
upstream: 0b8a72b739
2024-05-02 13:14:22 +02:00
Riccardo Mazzarini
56f54b5ba8
api: add TabPage::set_win()
on nightly
2024-05-02 13:09:23 +02:00
Riccardo Mazzarini
c9b3efba0f
api: add bindings to nvim_{win}_set_hl{_ns, _ns_fast}
2024-05-02 00:03:41 +02:00
Riccardo Mazzarini
a40f0d31af
api: add bindings to nvim_win_{add,get_remove}_ns
on nightly
2024-05-01 23:43:47 +02:00
Riccardo Mazzarini
6275bc2fc4
api: rename global
to vim
2024-05-01 20:06:30 +02:00
Riccardo Mazzarini
b8c0c62da8
api: move code around
2024-05-01 20:05:02 +02:00
Riccardo Mazzarini
4bf62ff4f5
macros(test): forward attrs to test function
2024-04-30 18:05:15 +02:00
Riccardo Mazzarini
a19a607191
tests: add the test-terminator
feature
2024-04-30 17:48:11 +02:00
Riccardo Mazzarini
6743f9725e
macros(test): add support for a Terminator
argument
2024-04-29 23:07:33 +02:00
Riccardo Mazzarini
7f1301432f
macros(test): remove the test_fn
attribute
2024-04-29 23:06:45 +02:00