Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fixes error using 'm' snippet where 'M' is also defined
diff --git a/autoload/snipMate.vim b/autoload/snipMate.vim
index 76fe56b..8f0ebce 100644
--- a/autoload/snipMate.vim
+++ b/autoload/snipMate.vim
@@ -748,7 +748,7 @@ fun! snipMate#GetSnippetsForWordBelowCursor(word, suffix, break_on_first_match)
for [k,snippetD] in items(funcref#Call(s:snipMate['get_snippets'], [snipMate#ScopesByFile(), wor
if a:suffix == ''
" hack: require exact match
- if k != word | continue | endif
+ if k !=# word | continue | endif
endif
call add(matching_snippets, [k, snippetD])
if a:break_on_first_match | break| endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.