vim-lua-ftplugin
vim-lua-ftplugin copied to clipboard
Autocheck syntax lua in ruby file
This function was called when i'm edited ruby file. It is fast function, but anyway. What if every filetype plugin checks that every time. Anyway, thanks for plugin.
FUNCTION xolox#lua#autocheck()
Called 9 times
Total time: 0.000191
Self time: 0.000191
count total (s) self (s)
9 0.000038 if &filetype == 'lua'
if xolox#misc#option#get('lua_check_syntax', 1)
call xolox#lua#checksyntax()
endif
if xolox#misc#option#get('lua_check_globals', 0) && empty(getqflist())
call xolox#lua#checkglobals(0)
endif
endif