Skip to content

Commit

Permalink
move a bunch of files
Browse files Browse the repository at this point in the history
  • Loading branch information
Nimaoth committed Dec 20, 2023
1 parent 507377f commit 299b7fe
Show file tree
Hide file tree
Showing 75 changed files with 161 additions and 968 deletions.
Binary file modified config/absytree_config_wasm.wasm
Binary file not shown.
3 changes: 2 additions & 1 deletion config/keybindings_normal.nim
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import absytree_runtime, event, id
import absytree_runtime
import misc/[event, id]

proc setModeChangedHandler*(handler: proc(editor: TextDocumentEditor, oldMode: string, newMode: string)) =
let modeChangedHandler = getOption("editor.text.mode-changed-handler", "")
Expand Down
2 changes: 1 addition & 1 deletion config/keybindings_vim.nim
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import absytree_runtime, keybindings_normal
import timer
import misc/[timer]

proc loadVimKeybindings*() {.scriptActionWasmNims("load-vim-keybindings").} =
loadNormalKeybindings()
Expand Down
3 changes: 2 additions & 1 deletion scripting/absytree_runtime.nim
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import std/[strformat, tables, macros, json, strutils, sugar, sequtils, genasts]
import misc/[event, util, wrap]
import absytree_api

import absytree_api, event, util, wrap
export absytree_api, util, strformat, tables, json, strutils, sugar, sequtils, scripting_api

type AnyDocumentEditor = TextDocumentEditor | ModelDocumentEditor
Expand Down
3 changes: 2 additions & 1 deletion scripting/absytree_runtime_impl.nim
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import absytree_runtime, event
import absytree_runtime
import misc/[event]

proc handleGlobalAction*(action: string, args: JsonNode): bool =
if action == "lambda-action":
Expand Down
2 changes: 1 addition & 1 deletion scripting/editor_api_wasm.nim
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import std/[json]
import scripting_api, myjsonutils
import scripting_api, misc/myjsonutils

## This file is auto generated, don't modify.

Expand Down
106 changes: 0 additions & 106 deletions scripting/editor_ast_api.nim

This file was deleted.

Loading

0 comments on commit 299b7fe

Please sign in to comment.