Skip to content

Commit

Permalink
Fix Aniseed's reference to *module-name* Olical#601
Browse files Browse the repository at this point in the history
  • Loading branch information
Olical authored and mohsinhassaan committed Sep 24, 2024
1 parent 97b031f commit d982fe8
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 d982fe8

Please sign in to comment.