The current repo belongs to Paused status, and some functions are restricted. For details, please refer to the description of repo status
1 Star 0 Fork 74

strong_code / SpaceVim
Paused

forked from SpaceVim / SpaceVim 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
vimrc 1.07 KB
Copy Edit Raw Blame History
wsdjeg authored 2020-01-31 21:38 . Fix lua runtime path (#3317)
"=============================================================================
" vimrc --- Entry file for vim
" Copyright (c) 2016-2017 Shidong Wang & Contributors
" Author: Shidong Wang < wsdjeg at 163.com >
" URL: https://spacevim.org
" License: GPLv3
"=============================================================================
" Note: Skip initialization for vim-tiny or vim-small.
if 1
let g:_spacevim_if_lua = 0
if has('lua')
if has('win16') || has('win32') || has('win64')
let s:plugin_dir = fnamemodify(expand('<sfile>'), ':h').'\lua'
let s:str = s:plugin_dir . '\?.lua;' . s:plugin_dir . '\?\init.lua;'
else
let s:plugin_dir = fnamemodify(expand('<sfile>'), ':h').'/lua'
let s:str = s:plugin_dir . '/?.lua;' . s:plugin_dir . '/?/init.lua;'
endif
silent! lua package.path=vim.eval("s:str") .. package.path
if empty(v:errmsg)
let g:_spacevim_if_lua = 1
endif
endif
execute 'source' fnamemodify(expand('<sfile>'), ':h').'/config/main.vim'
endif
" vim:set et sw=2
VimL
1
https://gitee.com/strong_code/SpaceVim.git
git@gitee.com:strong_code/SpaceVim.git
strong_code
SpaceVim
SpaceVim
master

Search