File: completions_disabled.vim

package info (click to toggle)
python-jedi 0.19.1%2Bds1-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,680 kB
  • sloc: python: 28,783; makefile: 172; ansic: 13
file content (20 lines) | stat: -rw-r--r-- 369 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
let g:jedi#completions_command = 'X'
let g:jedi#completions_enabled = 0
source plugin/jedi.vim

describe 'completions_disabled'
    before
        set filetype=python
    end

    after
        try | %bwipeout! | catch | endtry
    end

    it 'typing'
        normal oraise ImportErrX
        Expect getline('.') == 'raise ImportErrX'
    end
end

" vim: et:ts=4:sw=4