We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2149076 commit 1c516aaCopy full SHA for 1c516aa
after/indent/python.vim
@@ -1,8 +1,4 @@
1
-if pymode#Default('g:pymode', 1) || !g:pymode
2
- finish
3
-endif
4
-
5
-if pymode#Default('b:pymode_indent', 1) || !g:pymode_indent
+if !g:pymode || !g:pymode_indent
6
finish
7
endif
8
t/docs.vim
@@ -10,7 +10,6 @@ describe 'docs'
10
it 'pymode show docs'
11
Pydoc def
12
Expect getline(1) == 'Function definitions'
13
- Expect 1 == 1
14
end
15
16
t/indent.vim
@@ -0,0 +1,19 @@
+filetype plugin indent on
+set hidden
+
+describe 'docs'
+ before
+ e t/test.py
+ let g:pymode_test = 1
+ end
9
+ it 'pymode indent loaded'
+ Expect &indentexpr == 'pymode#indent#Indent(v:lnum)'
+ after
+ close
17
18
+end
19
0 commit comments