Skip to content

Commit

Permalink
Fix the auto_enter option
Browse files Browse the repository at this point in the history
  • Loading branch information
Olical committed Feb 2, 2025
1 parent a40f1fd commit 4ff479b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .nvim.fnl
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

; (set vim.g.conjure#mapping#enable_defaults false)
; (set vim.g.conjure#extract#tree_sitter#enabled true)
; (set vim.g.conjure#client#racket#stdio#auto_enter false)
; (set vim.g.conjure#client#clojure#nrepl#test#runner "kaocha")
(set vim.g.conjure#filetype#fennel "conjure.client.fennel.nfnl")
; (set vim.g.conjure#filetype#scheme "conjure.client.snd-s7.stdio")
Expand Down
2 changes: 1 addition & 1 deletion fnl/conjure/client/racket/stdio.fnl
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
(fn enter []
(let [repl (state :repl)
path (vim.fn.expand "%:p")]
(when (and repl (not (log.log-buf? path)) (config.get-in [:auto_enter]))
(when (and repl (not (log.log-buf? path)) (cfg [:auto_enter]))
(repl.send
(prep-code (.. ",enter " path))
(fn [])))))
Expand Down
2 changes: 1 addition & 1 deletion lua/conjure/client/racket/stdio.lua

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

0 comments on commit 4ff479b

Please sign in to comment.