File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ python-indent.vim is a Vim indent plugin for Python which complies with
1616.. image :: https://codecov.io/gh/hattya/python-indent.vim/branch/master/graph/badge.svg
1717 :target: https://codecov.io/gh/hattya/python-indent.vim
1818
19+ .. image :: https://img.shields.io/badge/doc-:h%20python--indent.txt-blue.svg
20+ :target: doc/python-indent.txt
21+
1922.. _PEP 8 : https://www.python.org/dev/peps/pep-0008/
2023
2124
@@ -51,86 +54,6 @@ Requirements
5154- Vim 7.4+
5255
5356
54- Configuration
55- -------------
56-
57- g:python_indent_continue
58- ~~~~~~~~~~~~~~~~~~~~~~~~
59-
60- Indent for a continuation line.
61-
62- Default value: ``&sw ``
63-
64- .. code :: python
65-
66- value = 1 + \
67- 2 + \
68- 3
69- value = func(
70- 1 ,
71- 2 ,
72- 3 )
73-
74-
75- g:python_indent_right_bracket
76- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
77-
78- If set to ``1 ``, a right bracket will be lined up under the first non-whitespace
79- character of the last line.
80-
81- Default:
82-
83- .. code :: python
84-
85- value = [
86- 1 ,
87- 2 ,
88- 3 ,
89- ]
90- value = func(
91- 1 ,
92- 2 ,
93- 3 ,
94- )
95-
96- If set to ``1 ``:
97-
98- .. code :: python
99-
100- value = [
101- 1 ,
102- 2 ,
103- 3 ,
104- ]
105- value = func(
106- 1 ,
107- 2 ,
108- 3 ,
109- )
110-
111-
112- g:python_indent_multiline_statement
113- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114-
115- If set to ``1 ``, add some extra indentation on the conditional continuation line.
116-
117- Default:
118-
119- .. code :: python
120-
121- if (isinstance (path, str ) and
122- os.path.isfile(path)):
123- pass
124-
125- If set to ``1 ``:
126-
127- .. code :: python
128-
129- if (isinstance (path, str ) and
130- os.path.isfile(path)):
131- pass
132-
133-
13457Testing
13558-------
13659
You can’t perform that action at this time.
0 commit comments