Commit graph

10 commits

Author SHA1 Message Date
1220eb3bc3 feat: highlight the completion chars in for gui
Ref: #9
2022-09-02 21:31:56 +01:00
f70cd6aad8 fix: remove the completion buffer from the buffer list
You will no longer see the completion "Buffers" in the list of buffers
when searching for buffers.

Fixes-issue: #7
2022-09-02 21:25:19 +01:00
a712c929cb feat: make the completion candidates type more consistent
The API for `window.set_items` took to many variable types. It would
take a table in multiple different formats and a string. Now it will
only take a table in a single format and a string. It will convert the
string into the table format by splitting it on new lines.

The table format is an array of tables that must have a `content` key
that will be the text that is displayed in the completion window. The
table can have any other data that is ignored.

```lua
local items = {
  { content = "Item one" },
  { content = "Item two" }
}
```

The `set_items` function will only display the `content` key in the
completion window, it will not do any sorting or filtering, that must be
done before passing the data to the `set_items` function.
2022-09-02 21:03:56 +01:00
Ade Attwood
5d6546d414 ci: add luacheck 2022-08-07 16:41:51 +01:00
Ade Attwood
39e6878b58 feat: add highlight on matching chars in results buffer 2022-07-23 20:53:07 +01:00
Ade Attwood
9b3d186701 feat: implement IvyLines to search the lines in the current buffer 2022-07-23 20:30:14 +01:00
Ade Attwood
75d1c0d171 feat: add window title for each of the actions 2022-07-23 20:14:52 +01:00
Ade Attwood
b30ecd21fe feat: add sorting and filtering of buffers via libivy 2022-07-23 08:54:26 +01:00
Ade Attwood
3f6149d3e1 feat: add initial implementation of cpp file finder
This uses lua ffi and a cpp shard library to implement a file finder in
cpp so we can use threads more effectively and get better performance.
2022-07-23 08:49:45 +01:00
Ade Attwood
b82f1af2a1 chore: initial commit 2022-07-10 21:07:33 +01:00