summaryrefslogtreecommitdiffstats
path: root/indent/reason.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/reason.vim')
-rw-r--r--indent/reason.vim4
1 files changed, 2 insertions, 2 deletions
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\)'