mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-09 20:15:01 +08:00
testing completion disabling
This commit is contained in:
21
test/completions_disabled.vim
Normal file
21
test/completions_disabled.vim
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
let g:jedi#completions_command = 'X'
|
||||||
|
let g:jedi#completions_enabled = 0
|
||||||
|
source plugin/jedi.vim
|
||||||
|
|
||||||
|
describe 'completions_disabled'
|
||||||
|
before
|
||||||
|
new
|
||||||
|
set filetype=python
|
||||||
|
end
|
||||||
|
|
||||||
|
after
|
||||||
|
bd!
|
||||||
|
end
|
||||||
|
|
||||||
|
it 'typing'
|
||||||
|
normal oraise ImportErrX
|
||||||
|
Expect getline('.') == 'raise ImportErrX'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
" vim: et:ts=4:sw=4
|
||||||
Reference in New Issue
Block a user