mirror of
https://github.com/gryf/snipmate.vim.git
synced 2025-12-22 05:47:59 +01:00
fixed typo that prevented file-based snippets from being loaded in Windows
This commit is contained in:
@@ -17,7 +17,7 @@ au FileType objc,cpp,cs let &ft = expand('<amatch>').'.c'
|
||||
" By default load snippets in ~/.vim/snippets/<filetype>
|
||||
if !exists('snippets_dir')
|
||||
let snippets_dir = $HOME.(has('win16') || has('win32') || has('win64') ?
|
||||
\ '\vimfiles\snippets' : '/.vim/snippets/')
|
||||
\ '\vimfiles\snippets\' : '/.vim/snippets/')
|
||||
endif
|
||||
if !isdirectory(snippets_dir) | finish | endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user