From 6b540d7db030e4110aa3a31dd06c6c41387444db Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 2 Mar 2020 00:34:02 +0100 Subject: Update --- indent/reason.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indent/reason.vim') diff --git a/indent/reason.vim b/indent/reason.vim index 43c6eb7c..7ee5c6db 100644 --- a/indent/reason.vim +++ b/indent/reason.vim @@ -78,7 +78,7 @@ function! s:is_string_comment(lnum, col) if has('syntax_items') for id in synstack(a:lnum, a:col) let synname = synIDattr(id, "name") - if synname == "rustString" || synname =~ "^rustComment" + if synname == "reasonString" || synname =~ "^reasonComment" return 1 endif endfor @@ -97,7 +97,7 @@ function GetReasonIndent(lnum) if has('syntax_items') let synname = synIDattr(synID(a:lnum, 1, 1), "name") - if synname == "rustString" + if synname == "reasonString" " If the start of the line is in a string, don't change the indent return -1 elseif synname =~ '\(Comment\|Todo\)' -- cgit v1.2.3