11
11
_2amodule_locals_2a = (_2amodule_2a )[" aniseed/locals" ]
12
12
end
13
13
local autoload = (require (" conjure.aniseed.autoload" )).autoload
14
- local a , action , bridge , client , config , eval , mapping , nvim , parse , server , str , ts = autoload (" conjure.aniseed.core" ), autoload (" conjure.client.clojure.nrepl.action" ), autoload (" conjure.bridge" ), autoload (" conjure.client" ), autoload (" conjure.config" ), autoload (" conjure.eval" ), autoload (" conjure.mapping" ), autoload (" conjure.aniseed.nvim" ), autoload (" conjure.client.clojure.nrepl.parse" ), autoload (" conjure.client.clojure.nrepl.server" ), autoload (" conjure.aniseed.string" ), autoload (" conjure.tree-sitter" )
14
+ local a , action , bridge , client , config , eval , mapping , nvim , parse , server , str , text , ts = autoload (" conjure.aniseed.core" ), autoload (" conjure.client.clojure.nrepl.action" ), autoload (" conjure.bridge" ), autoload (" conjure.client" ), autoload (" conjure.config" ), autoload (" conjure.eval" ), autoload (" conjure.mapping" ), autoload (" conjure.aniseed.nvim" ), autoload (" conjure.client.clojure.nrepl.parse" ), autoload (" conjure.client.clojure.nrepl.server" ), autoload (" conjure.aniseed.string" ), autoload ( " conjure.text " ), autoload (" conjure.tree-sitter" )
15
15
do end (_2amodule_locals_2a )[" a" ] = a
16
16
_2amodule_locals_2a [" action" ] = action
17
17
_2amodule_locals_2a [" bridge" ] = bridge
@@ -23,14 +23,19 @@ _2amodule_locals_2a["nvim"] = nvim
23
23
_2amodule_locals_2a [" parse" ] = parse
24
24
_2amodule_locals_2a [" server" ] = server
25
25
_2amodule_locals_2a [" str" ] = str
26
+ _2amodule_locals_2a [" text" ] = text
26
27
_2amodule_locals_2a [" ts" ] = ts
27
28
local buf_suffix = " .cljc"
28
29
_2amodule_2a [" buf-suffix" ] = buf_suffix
29
30
local comment_prefix = " ; "
30
31
_2amodule_2a [" comment-prefix" ] = comment_prefix
31
32
local cfg = config [" get-in-fn" ]({" client" , " clojure" , " nrepl" })
32
33
do end (_2amodule_locals_2a )[" cfg" ] = cfg
33
- local form_node_3f = ts [" node-surrounded-by-form-pair-chars?" ]
34
+ local reader_macro_pairs = {{" #{" , " }" }, {" #(" , " )" }, {" #?(" , " )" }, {" '(" , " )" }, {" '[" , " ]" }, {" '{" , " }" }, {" `(" , " )" }, {" `[" , " ]" }, {" `{" , " }" }}
35
+ _2amodule_locals_2a [" reader-macro-pairs" ] = reader_macro_pairs
36
+ local function form_node_3f (node )
37
+ return ts [" node-surrounded-by-form-pair-chars?" ](node , reader_macro_pairs )
38
+ end
34
39
_2amodule_2a [" form-node?" ] = form_node_3f
35
40
config.merge({client = {clojure = {nrepl = {connection = {default_host = "localhost", port_files = {".nrepl-port", ".shadow-cljs/nrepl.port"}, auto_repl = {enabled = true, hidden = false, cmd = "bb nrepl-server localhost:8794", port_file = ".nrepl-port", port = "8794"}}, eval = {pretty_print = true, raw_out = false, auto_require = true, print_quota = nil, print_function = "conjure.internal/pprint", print_options = {length = 500, level = 50}}, interrupt = {sample_limit = 0.3}, refresh = {after = nil, before = nil, dirs = nil}, test = {current_form_names = {"deftest"}, raw_out = false, runner = "clojure", call_suffix = nil}, mapping = {disconnect = "cd", connect_port_file = "cf", interrupt = "ei", last_exception = "ve", result_1 = "v1", result_2 = "v2", result_3 = "v3", view_source = "vs", session_clone = "sc", session_fresh = "sf", session_close = "sq", session_close_all = "sQ", session_list = "sl", session_next = "sn", session_prev = "sp", session_select = "ss", run_all_tests = "ta", run_current_ns_tests = "tn", run_alternate_ns_tests = "tN", run_current_test = "tc", refresh_changed = "rr", refresh_all = "ra", refresh_clear = "rc"}, completion = {cljs = {use_suitable = true}, with_context = false}}}}})
36
41
local function context (header )
0 commit comments