mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 15:50:04 +08:00
43 lines
1.1 KiB
Python
43 lines
1.1 KiB
Python
|
# ============================================================================
|
||
|
# 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
|