summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
Diffstat (limited to 'support')
-rw-r--r--support/vim/indent/myr.vim12
1 files changed, 5 insertions, 7 deletions
diff --git a/support/vim/indent/myr.vim b/support/vim/indent/myr.vim
index b2cf671..d0de51a 100644
--- a/support/vim/indent/myr.vim
+++ b/support/vim/indent/myr.vim
@@ -8,13 +8,11 @@ endif
function! InComment(lnum, col)
let stk = synstack(a:lnum, a:col)
- if len(stk)
- for id in stk
- if synIDattr(id, "name") == "myrComment"
- return 1
- endif
- endfor
- endif
+ for id in stk
+ if synIDattr(id, "name") == "myrComment"
+ return 1
+ endif
+ endfor
return 0
endfunction