1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 15:50:04 +08:00
SpaceVim/bundle/defx.nvim/rplugin/python3/defx/context.py

43 lines
1.1 KiB
Python
Raw Normal View History

2020-06-13 14:06:35 +08:00
# ============================================================================
# FILE: context.py
# AUTHOR: Shougo Matsushita <Shougo.Matsu at gmail.com>
# License: MIT license
# ============================================================================
import typing
class Context(typing.NamedTuple):
args: typing.List[str] = []
auto_cd: bool = False
auto_recursive_level: int = 0
buffer_name: str = 'default'
columns: str = ''
cursor: int = 0
direction: str = ''
drives: typing.List[str] = []
ignored_files: str = ''
listed: bool = False
new: bool = False
prev_bufnr: int = 0
prev_last_bufnr: int = 0
prev_winid: int = 0
profile: bool = False
resume: bool = False
root_marker: str = ''
search: str = ''
session_file: str = ''
sort: str = ''
show_ignored_files: bool = False
split: str = 'no'
toggle: bool = False
targets: typing.List[typing.Dict[str, typing.Any]] = []
variable_length: int = 0
visual_start: int = 0
visual_end: int = 0
wincol: int = 0
winheight: int = 0
winrelative: str = 'editor'
winrow: int = 0
winwidth: int = 0