summaryrefslogtreecommitdiffstats
path: root/autoload/python/utils.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/python/utils.vim')
-rw-r--r--autoload/python/utils.vim21
1 files changed, 0 insertions, 21 deletions
diff --git a/autoload/python/utils.vim b/autoload/python/utils.vim
deleted file mode 100644
index 51ba9ef1..00000000
--- a/autoload/python/utils.vim
+++ /dev/null
@@ -1,21 +0,0 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'python-compiler') == -1
-
-" Sometimes Python issues debugging messages
-" which don't belong to a call stack context
-" this function filters these messages
-function! python#utils#fix_qflist() " {{{
- let l:traceback = []
- let l:qflist = getqflist()
-
- for l:item in l:qflist
- if !empty(l:item.type)
- call add(l:traceback, l:item)
- endif
- endfor
-
- if !empty(l:traceback)
- call setqflist(l:traceback)
- endif
-endfunction " }}}
-
-endif