mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-05-07 18:48:39 +00:00
lint pass
This commit is contained in:
@@ -49,9 +49,9 @@ const emojiCompletionList = (context)=>{
|
||||
//Info is the tooltip
|
||||
|
||||
return {
|
||||
from : word.from + 1,
|
||||
from : word.from + 1,
|
||||
options,
|
||||
filter: false,
|
||||
filter : false,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -127,7 +127,7 @@ const programmaticCursorLineField = StateField.define({
|
||||
});
|
||||
|
||||
const CodeEditor = forwardRef(
|
||||
(
|
||||
(
|
||||
{
|
||||
language = '',
|
||||
tab = 'brewText',
|
||||
@@ -364,7 +364,7 @@ const CodeEditor = forwardRef(
|
||||
|
||||
view.dispatch({
|
||||
selection : { anchor: pos },
|
||||
effects : [setProgrammaticCursorLine.of(pos), EditorView.scrollIntoView(pos, { y: 'start' })],
|
||||
effects : [setProgrammaticCursorLine.of(pos), EditorView.scrollIntoView(pos, { y: 'start' })],
|
||||
});
|
||||
|
||||
view.focus();
|
||||
|
||||
@@ -129,7 +129,7 @@ export function tokenizeCustomMarkdown(text) {
|
||||
return;
|
||||
}
|
||||
|
||||
// --- multiline def list ---
|
||||
// --- multiline def list ---
|
||||
if(!/^::/.test(lines[lineNumber]) && lineNumber + 1 < lines.length && /^::/.test(lines[lineNumber + 1])) {
|
||||
const startLine = lineNumber;
|
||||
const defs = [];
|
||||
|
||||
Reference in New Issue
Block a user