mirror of
https://github.com/hexedtech/codemp.git
synced 2024-12-22 21:04:53 +01:00
fix: forgot type hints
This commit is contained in:
parent
92d181246e
commit
24863b59cb
2 changed files with 4 additions and 3 deletions
5
dist/lua/annotations.lua
vendored
5
dist/lua/annotations.lua
vendored
|
@ -147,10 +147,11 @@ function Workspace:attach_buffer(path) end
|
|||
---detach from an active buffer, closing all streams. returns false if buffer was no longer active
|
||||
function Workspace:detach_buffer(path) end
|
||||
|
||||
---@param filter? string only return elements starting with given filter
|
||||
---@param filter? string apply a filter to the return elements
|
||||
---@param strict boolean whether to strictly match or just check whether it starts with it
|
||||
---@return string[]
|
||||
---return the list of available buffers in this workspace, as relative paths from workspace root
|
||||
function Workspace:filetree(filter) end
|
||||
function Workspace:filetree(filter, strict) end
|
||||
|
||||
---@return NilPromise
|
||||
---@async
|
||||
|
|
2
dist/py/src/codemp/codemp.pyi
vendored
2
dist/py/src/codemp/codemp.pyi
vendored
|
@ -66,7 +66,7 @@ class Workspace:
|
|||
def cursor(self) -> CursorController: ...
|
||||
def buffer_by_name(self, path: str) -> Optional[BufferController]: ...
|
||||
def buffer_list(self) -> list[str]: ...
|
||||
def filetree(self, filter: Optional[str]) -> list[str]: ...
|
||||
def filetree(self, filter: Optional[str], strict: bool) -> list[str]: ...
|
||||
|
||||
class TextChange:
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue