Skip to content

Commit

Permalink
debug ci
Browse files Browse the repository at this point in the history
  • Loading branch information
fox0430 committed Nov 26, 2024
1 parent f9d3002 commit 62a172f
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions tests/texmode.nim
Original file line number Diff line number Diff line change
Expand Up @@ -179,20 +179,21 @@ suite "Ex mode: Write command":
if not isNimlangserverAvailable():
skip()
else:
writeFile(TestFilePath, "echo 1")

var status = initEditorStatus()

status.settings.lsp.enable = true

discard status.addNewBufferInCurrentWin(TestFilePath).get
status.bufStatus[0].buffer = initGapBuffer(@[ru"echo 1"])

block initLsp:
let workspaceRoot = TestDir
const LangId = "nim"

assert status.lspInitialize(workspaceRoot, LangId).isOk
# block initLsp:
# let workspaceRoot = TestDir
# const LangId = "nim"
#
# assert status.lspInitialize(workspaceRoot, LangId).isOk

status.handleLspInitialize
status.handleLspInitialize

const Command = @[ru"w"]
status.exModeCommand(Command)
Expand Down

0 comments on commit 62a172f

Please sign in to comment.