Skip to content

Commit

Permalink
Ensure that the list of completions is unique
Browse files Browse the repository at this point in the history
  • Loading branch information
smoeding committed Nov 14, 2024
1 parent 3a29eb9 commit 7141f3b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions puppet-ts-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
;; Maintainer: Stefan Möding <[email protected]>
;; Version: 0.1.0
;; Created: <2024-03-02 13:05:03 stm>
;; Updated: <2024-11-13 18:24:58 stm>
;; Updated: <2024-11-14 07:35:13 stm>
;; URL: https://github.com/smoeding/puppet-ts-mode
;; Keywords: languages
;; Package-Requires: ((emacs "29.1"))
Expand Down Expand Up @@ -1006,7 +1006,8 @@ when `puppet-ts-mode' is enabled."
end
(completion-table-dynamic
(lambda (_)
(append vars puppet-ts-completion-variables))))))
(seq-uniq
(append vars puppet-ts-completion-variables)))))))
((consp bounds)
;; The symbol at point does not start with a "$" so we complete
;; using the list of resource types.
Expand Down

0 comments on commit 7141f3b

Please sign in to comment.