Skip to content

Autocheck syntax lua in ruby file #17

@onemanstartup

Description

@onemanstartup

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions