about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-12-20 10:46:55 +0900
committersefidel <contact@sefidel.net>2024-12-20 10:46:55 +0900
commit376887559ba6303a3bd89d8c8d94c3697d7d89c6 (patch)
tree927416abb5c1cf1230a5dc22d2925e1bb8c27510
parentf36a0001781ca68b60aeb4bab112b3b2da94a7c2 (diff)
downloadnvimrc-376887559ba6303a3bd89d8c8d94c3697d7d89c6.tar.gz
nvimrc-376887559ba6303a3bd89d8c8d94c3697d7d89c6.zip
feat(packs/blink-cmp): set max width of index to 2
-rw-r--r--fnl/nvrc/packs/blink-cmp.fnl1
1 files changed, 1 insertions, 0 deletions
diff --git a/fnl/nvrc/packs/blink-cmp.fnl b/fnl/nvrc/packs/blink-cmp.fnl
index 73a3b67..059e132 100644
--- a/fnl/nvrc/packs/blink-cmp.fnl
+++ b/fnl/nvrc/packs/blink-cmp.fnl
@@ -60,6 +60,7 @@
                                              {1 :kind_icon :gap 1 2 :kind}
                                              {1 :source_name}]
                                    :components {:item_idx {:text (fn [ctx] (tostring ctx.idx))
+                                                           :width {:max 2}
                                                            :highlight :BlinkCmpItemIdx}
                                                 :label_description {:width {:max 10}}
                                                 :source_name {:text (fn [ctx] (.. "[" ctx.source_name "]"))}}}}}})