This commit is contained in:
Adam Stankiewicz
2020-11-18 20:33:42 +01:00
parent da18fe6851
commit c228e993ad
32 changed files with 1986 additions and 767 deletions

View File

@@ -38,7 +38,7 @@ setlocal indentexpr=GetJavascriptGraphQLIndent()
function GetJavascriptGraphQLIndent()
let l:stack = map(synstack(v:lnum, 1), "synIDattr(v:val, 'name')")
if get(l:stack, 0) ==# 'graphqlTemplateString'
if get(l:stack, 0, '') ==# 'graphqlTemplateString'
return GetGraphQLIndent()
endif