mirror of
https://github.com/gryf/snipmate.vim.git
synced 2025-12-20 21:08:01 +01:00
made sure g:snippets_dir is always an absolute path
This commit is contained in:
@@ -14,7 +14,7 @@ snor <left> <esc>bi
|
||||
|
||||
" By default load snippets in ~/.vim/snippets/<filetype>
|
||||
if !exists('snippets_dir')
|
||||
let snippets_dir = finddir('snippets', &rtp).'/'
|
||||
let snippets_dir = fnamemodify(finddir('snippets', &rtp), ':p')
|
||||
endif
|
||||
if empty(snippets_dir) | finish | endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user