/usr/share/vim/addons/autoload/khuno.vim is in vim-khuno 1.0.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | " File: khuno.vim
" Description: A Python Flakes plugin: analyze your code on the fly
" Maintainer: Alfredo Deza <alfredodeza AT gmail.com>
" License: MIT
"
"============================================================================
function! khuno#Status(...) abort
if !exists('b:flake_errors')
return ''
endif
if (a:0 > 0)
let text = a:1
else
let err_count = len(keys(b:flake_errors))
if err_count >= 2
let text = err_count -1
else
let text = 0
endif
endif
if len(b:flake_errors)
return '['.text.']'
else
return ''
endfunction
|