Skip to content

Commit

Permalink
docs: document treesitter draw option (#434)
Browse files Browse the repository at this point in the history
* docs: treesitter labels are not documented

* docs: sync draw config with default config

---------

Co-authored-by: Liam Dyer <[email protected]>
  • Loading branch information
Euro20179 and Saghen authored Dec 3, 2024
1 parent 29fe017 commit b98807d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,8 @@ MiniDeps.add({
padding = 1,
-- Gap between columns
gap = 1,
-- Use treesitter to highlight the label text
treesitter = false,

-- Components to render, grouped by column
columns = { { 'kind_icon' }, { 'label', 'label_description', gap = 1 } },
Expand Down Expand Up @@ -744,6 +746,8 @@ completion.menu.draw = {
padding = 1,
-- Gap between columns
gap = 1,
-- Use treesitter to highlight the label text
treesitter = false,

-- Components to render, grouped by column
columns = { { 'kind_icon' }, { 'label', 'label_description', gap = 1 } },
Expand Down

0 comments on commit b98807d

Please sign in to comment.