1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 17:50:05 +08:00
SpaceVim/bundle/defx.nvim/rplugin/python3/defx/column/space.py
2020-06-13 14:06:35 +08:00

27 lines
672 B
Python

# ============================================================================
# FILE: space.py
# AUTHOR: Shougo Matsushita <Shougo.Matsu at gmail.com>
# License: MIT license
# ============================================================================
from defx.base.column import Base
from defx.context import Context
from defx.util import Nvim
import typing
class Column(Base):
def __init__(self, vim: Nvim) -> None:
super().__init__(vim)
self.name = 'space'
def get(self, context: Context,
candidate: typing.Dict[str, typing.Any]) -> str:
return ' '
def length(self, context: Context) -> int:
return 1