Change runtime snippets directory

This commit is contained in:
Shougo Matsushita 2013-12-28 20:20:15 +09:00
parent e5b90773b2
commit 29d6a0b4c9
45 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,7 @@
"============================================================================= "=============================================================================
" FILE: init.vim " FILE: init.vim
" AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com> " AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com>
" Last Modified: 25 Dec 2013. " Last Modified: 28 Dec 2013.
" License: MIT license {{{ " License: MIT license {{{
" Permission is hereby granted, free of charge, to any person obtaining " Permission is hereby granted, free of charge, to any person obtaining
" a copy of this software and associated documentation files (the " a copy of this software and associated documentation files (the
@ -44,8 +44,7 @@ endfunction"}}}
function! s:initialize_script_variables() "{{{ function! s:initialize_script_variables() "{{{
" Set runtime dir. " Set runtime dir.
let runtime_dir = neosnippet#variables#runtime_dir() let runtime_dir = neosnippet#variables#runtime_dir()
let runtime_dir += split(globpath(&runtimepath, let runtime_dir += split(globpath(&runtimepath, 'neosnippets'), '\n')
\ 'autoload/neosnippet/snippets'), '\n')
if g:neosnippet#enable_snipmate_compatibility if g:neosnippet#enable_snipmate_compatibility
" Load snipMate snippet directories. " Load snipMate snippet directories.
let runtime_dir += split(globpath(&runtimepath, let runtime_dir += split(globpath(&runtimepath,