adding new stuff
This commit is contained in:
parent
f84d7183aa
commit
9ef8a96f9a
1580 changed files with 0 additions and 0 deletions
24
plugins/bundle/python-mode/t/docs.vim
Normal file
24
plugins/bundle/python-mode/t/docs.vim
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
source plugin/pymode.vim
|
||||
|
||||
describe 'docs'
|
||||
before
|
||||
set filetype=python
|
||||
end
|
||||
|
||||
after
|
||||
bd!
|
||||
bd!
|
||||
end
|
||||
|
||||
it 'pymode show docs'
|
||||
Expect g:pymode_doc == 1
|
||||
put = 'def'
|
||||
normal GK
|
||||
wincmd p
|
||||
Expect bufname('%') == "__doc__"
|
||||
Expect getline(1) == 'Function definitions'
|
||||
Expect &filetype == 'rst'
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue