summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Vink <>2023-04-12 17:08:59 +0200
committerMike Vink <>2023-04-12 17:08:59 +0200
commit9aa0254e29355b64de1ccb3bc8c84e9190ae6c90 (patch)
tree3d43efc5cac56665206a38370e39bbc5e5cba2b0
parent2af1cdcc6afdf971d4da39937c555233b06e8d33 (diff)
cmp
-rw-r--r--fnl/conf/pkgs/cmp.fnl3
1 files changed, 2 insertions, 1 deletions
diff --git a/fnl/conf/pkgs/cmp.fnl b/fnl/conf/pkgs/cmp.fnl
index 967b650..bb146f4 100644
--- a/fnl/conf/pkgs/cmp.fnl
+++ b/fnl/conf/pkgs/cmp.fnl
@@ -59,9 +59,10 @@
(cmp.setup.cmdline ":"
{:sources (cmp.config.sources [{:name :path}]
[{:name :cmdline_history
- :keyword_pattern "^[^hGw].*"
+ :keyword_pattern "^[^ehGgw].*"
:max_item_count 1}
{:name :cmdline
+ :keyword_length 2
:entry_filter (fn [entry
ctx]
(if (string-startswith entry.completion_item.label