Skip to content

Commit

Permalink
Fix Aniseed's reference to *module-name* #601
Browse files Browse the repository at this point in the history
  • Loading branch information
Olical committed Sep 3, 2024
1 parent 57e2f4f commit b9263df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions fnl/conjure/client/fennel/aniseed.fnl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
(local fs (autoload :conjure.fs))
(local log (autoload :conjure.log))
(local mapping (autoload :conjure.mapping))
(local nvim (autoload :conjure.aniseed.nvim))
(local str (autoload :conjure.aniseed.string))
(local text (autoload :conjure.text))
(local ts (autoload :conjure.tree-sitter))
Expand Down Expand Up @@ -239,7 +238,7 @@
(fn completions [opts]
(let [code (when (not (str.blank? opts.prefix))
(let [prefix (string.gsub opts.prefix ".$" "")]
(.. "((. (require :" *module-name* ") :value->completions) " prefix ")")))
(.. "((. (require :conjure.client.fennel.aniseed) :value->completions) " prefix ")")))
mods (value->completions package.loaded)
locals (let [(ok? m) (pcall #(require opts.context))]
(if ok?
Expand Down
3 changes: 1 addition & 2 deletions lua/conjure/client/fennel/aniseed.lua

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b9263df

Please sign in to comment.