From d7acf5ea46daf43a32cd5abe51e8356b2f20183b Mon Sep 17 00:00:00 2001 From: mitchell <70453897+orbitalquark@users.noreply.github.com> Date: Fri, 25 Mar 2022 10:23:53 -0400 Subject: [PATCH] Disable loading the dll in Windows terminal version. It crashes the editor for some reason. --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index df4a6b1..612f9b8 100644 --- a/init.lua +++ b/init.lua @@ -20,7 +20,7 @@ local M = {} -- Jump to the anchor for the alias under the caret. module('_M.yaml')]] -local lyaml = require('yaml.lyaml') +local lyaml = not (WIN32 and CURSES) and require('yaml.lyaml') or nil -- Always use spaces. events.connect(events.LEXER_LOADED, function(name)