aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/editor.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'src/editor.mjs')
-rw-r--r--src/editor.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editor.mjs b/src/editor.mjs
index f1c90ed..04b4125 100644
--- a/src/editor.mjs
+++ b/src/editor.mjs
@@ -215,7 +215,7 @@ const getSuggestionsFromAliases = (option) => Object.entries(aliasesForMapOption
215// }}} 215// }}}
216const handleTypingInCodeBlock = (currentLine, selection) => { 216const handleTypingInCodeBlock = (currentLine, selection) => {
217 const text = currentLine.textContent 217 const text = currentLine.textContent
218 if (text.match(/^\s\+$/) && text.length % 2 != 0) { 218 if (text.match(/^\s\+$/) && text.length % 2 !== 0) {
219 // TODO Completion for even number of spaces 219 // TODO Completion for even number of spaces
220 } else if (text.match(/^-/)){ 220 } else if (text.match(/^-/)){
221 // TODO Completion for YAML doc separator 221 // TODO Completion for YAML doc separator