Skip to content

Commit 5e84c75

Browse files
committed
fix: sphinx "Unexpected indentation" warning
Problem: sphinx: pynvim.api.nvim.Nvim.feedkeys:7: ERROR: Unexpected indentation. Solution: Delete most of the docstring. We should not have redundant docs in the clients...
1 parent 991c689 commit 5e84c75

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

pynvim/api/nvim.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -375,14 +375,7 @@ def chdir(self, dir_path: str) -> None:
375375
return self.request('nvim_set_current_dir', dir_path)
376376

377377
def feedkeys(self, keys: str, options: str = '', escape_csi: bool = True) -> None:
378-
"""Push `keys` to Nvim user input buffer.
379-
380-
Options can be a string with the following character flags:
381-
- 'm': Remap keys. This is default.
382-
- 'n': Do not remap keys.
383-
- 't': Handle keys as if typed; otherwise they are handled as if coming
384-
from a mapping. This matters for undo, opening folds, etc.
385-
"""
378+
"""Push `keys` to Nvim user input buffer."""
386379
return self.request('nvim_feedkeys', keys, options, escape_csi)
387380

388381
def input(self, bytes: AnyStr) -> int:

0 commit comments

Comments
 (0)