In neovim, when my completion plugin is triggered, it will print out the methods signature in a preview window
The preview window though, contains line numbers which is something I want to disable. So far, I though this would work
function! Preview_func()
if &pvw
setlocal nonum
endif
endfunction
autocmd * BufCreate call Preview_func()
But no dice. Any ideas?