mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-04-14 15:19:12 +08:00
Fix #1024, lua layer do not support neovim
This commit is contained in:
parent
a830a3e2a4
commit
ec0193f480
@ -1,6 +1,3 @@
|
||||
"WolfgangMehner/lua-support
|
||||
"http://lua-users.org/wiki/LuaEditorSupport
|
||||
"
|
||||
function! SpaceVim#layers#lang#lua#plugins() abort
|
||||
let plugins = []
|
||||
" Improved Lua 5.3 syntax and indentation support for Vim
|
||||
@ -11,7 +8,9 @@ function! SpaceVim#layers#lang#lua#plugins() abort
|
||||
endfunction
|
||||
|
||||
function! SpaceVim#layers#lang#lua#config() abort
|
||||
if has('lua')
|
||||
augroup spacevim_lua
|
||||
autocmd FileType lua setlocal omnifunc=luacomplete#complete
|
||||
augroup END
|
||||
endif
|
||||
endfunction
|
||||
|
Loading…
x
Reference in New Issue
Block a user