Skip to content

Commit

Permalink
fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
rjmacarthy committed Apr 24, 2024
1 parent f8d8221 commit faaf64c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ export const MULTILINE_INSIDE = [

export const MULTILINE_TYPES = [...MULTILINE_OUTSIDE, ...MULTILINE_INSIDE]

export const MULTILINE_DELIMTERS = ['\n\n', '\r\n\r\n']
export const MULTI_LINE_DELIMITERS = ['\n\n', '\r\n\r\n']

export const MULTI_LINE_REACT = [
'jsx_closing_element',
Expand Down
4 changes: 2 additions & 2 deletions src/extension/providers/completion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import {
LINE_BREAK_REGEX,
MAX_CONTEXT_LINE_COUNT,
MIN_COMPLETION_CHUNKS,
MULTILINE_DELIMTERS,
MULTI_LINE_DELIMITERS,
MULTILINE_INSIDE,
MULTILINE_OUTSIDE
} from '../../common/constants'
Expand Down Expand Up @@ -290,7 +290,7 @@ export class CompletionProvider implements InlineCompletionItemProvider {
!hasError
) {
if (
MULTILINE_DELIMTERS.some((delimiter) =>
MULTI_LINE_DELIMITERS.some((delimiter) =>
this._completion.endsWith(delimiter)
)
) {
Expand Down

0 comments on commit faaf64c

Please sign in to comment.