vim-lua-ftplugin icon indicating copy to clipboard operation
vim-lua-ftplugin copied to clipboard

Autocheck syntax lua in ruby file

Open onemanstartup opened this issue 11 years ago • 0 comments

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

onemanstartup avatar Oct 14 '13 19:10 onemanstartup