reconquest / vim-pythonx

Python libraries for making coding in vim easier
27 stars 6 forks source link

Getting last variable for snippet takes too much time in some cases. #7

Closed brnv closed 8 years ago

brnv commented 9 years ago

When i use snippet that calls px.php.get_last_var_for_snippet() at the end of ~300 lines php file, it takes forever for snippet to expand. I got workaround for this issue by decreasing size of search in util.get_defined_identifiers function.