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