mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-04-13 22:49:10 +08:00
Add lua support
This commit is contained in:
parent
fc38d9cb30
commit
d31cff777d
16
autoload/SpaceVim/layers/lang/lua.vim
Normal file
16
autoload/SpaceVim/layers/lang/lua.vim
Normal file
@ -0,0 +1,16 @@
|
||||
"WolfgangMehner/lua-support
|
||||
"http://lua-users.org/wiki/LuaEditorSupport
|
||||
"
|
||||
function! SpaceVim#layers#lang#lua#plugins() abort
|
||||
let plugins = []
|
||||
" Lua reference manual, wsdjeg's fork
|
||||
call add(plugins, ['wsdjeg/luarefvim'])
|
||||
" Improved Lua 5.3 syntax and indentation support for Vim
|
||||
call add(plugins, ['tbastos/vim-lua', {'on_ft' : 'lua'}])
|
||||
call add(plugins, ['WolfgangMehner/lua-support', {'on_ft' : 'lua'}])
|
||||
return plugins
|
||||
endfunction
|
||||
|
||||
function! SpaceVim#layers#lang#lua#config() abort
|
||||
|
||||
endfunction
|
Loading…
x
Reference in New Issue
Block a user