Skip to content

Commit

Permalink
chore: Update internal configs
Browse files Browse the repository at this point in the history
  • Loading branch information
liquidz committed Oct 5, 2024
1 parent d3fec3a commit b366487
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dev/analysis.edn

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions doc/elin-mapping.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ ElinReloadAll
Calls `elin.handler.evaluate/reload-all` handler.
Key is mapped to |<Plug>(elin_reload_all)|.

*ElinMacroExpand1CurrentList*
ElinMacroExpand1CurrentList
Calls `elin.handler.evaluate/expand-1-current-list` handler.
Key is mapped to |<Plug>(elin_macro_expand1_current_list)|.

*ElinAddLibspec*
ElinAddLibspec
Calls `elin.handler.namespace/add-libspec` handler.
Expand Down Expand Up @@ -229,6 +234,10 @@ MAPPINGS *elin-mappings*
<Plug>(elin_reload_all)
Same as |ElinReloadAll|.

*<Plug>(elin_macro_expand1_current_list)*
<Plug>(elin_macro_expand1_current_list)
Same as |ElinMacroExpand1CurrentList|.

*<Plug>(elin_add_libspec)*
<Plug>(elin_add_libspec)
Same as |ElinAddLibspec|.
Expand Down Expand Up @@ -308,6 +317,7 @@ n <Leader>eu <Plug>(elin_undef)
n <Leader>eU <Plug>(elin_undef_all)
n <Leader>enr <Plug>(elin_reload)
n <Leader>enR <Plug>(elin_reload_all)
n <Leader>em <Plug>(elin_macro_expand1_current_list)
n <Leader>ran <Plug>(elin_add_libspec)
n <Leader>ram <Plug>(elin_add_missing_libspec)
n <C-]> <Plug>(elin_jump_to_definition)
Expand Down
9 changes: 9 additions & 0 deletions doc/pages/configuration/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,12 @@ include::./vim/index.adoc[]


// call s:define_mapping('nmap', "<Leader>epe", '<Cmd>call elin#notify("elin.handler.evaluate/evaluate-current-list", [], {"config": "{:interceptor {:includes [[elin.interceptor.optional.evaluate/wrap-eval-code-interceptor \"println\"]]}}"})<CR>')



* lookupの挙動をポップアップではなくinfo buffer表示に切り替える
[source,edn]
----
{:handler {:uses [elin.handler.lookup/lookup {:interceptor {:excludes [elin.interceptor.handler/show-result-as-popup]
:uses [elin.interceptor.handler/append-result-to-info-buffer {:show-temporarily? true}]}}]}}
----

0 comments on commit b366487

Please sign in to comment.