Skip to content

Commit 7141f3b

Browse files
committed
Ensure that the list of completions is unique
1 parent 3a29eb9 commit 7141f3b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

puppet-ts-mode.el

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
;; Maintainer: Stefan Möding <stm@kill-9.net>
77
;; Version: 0.1.0
88
;; Created: <2024-03-02 13:05:03 stm>
9-
;; Updated: <2024-11-13 18:24:58 stm>
9+
;; Updated: <2024-11-14 07:35:13 stm>
1010
;; URL: https://github.com/smoeding/puppet-ts-mode
1111
;; Keywords: languages
1212
;; Package-Requires: ((emacs "29.1"))
@@ -1006,7 +1006,8 @@ when `puppet-ts-mode' is enabled."
10061006
end
10071007
(completion-table-dynamic
10081008
(lambda (_)
1009-
(append vars puppet-ts-completion-variables))))))
1009+
(seq-uniq
1010+
(append vars puppet-ts-completion-variables)))))))
10101011
((consp bounds)
10111012
;; The symbol at point does not start with a "$" so we complete
10121013
;; using the list of resource types.

0 commit comments

Comments
 (0)