Fixed file_history plugin after breakage from testing a pattern
This commit is contained in:
2
TODO.md
2
TODO.md
@@ -1,8 +1,8 @@
|
||||
___
|
||||
### Add
|
||||
1. Add Godot LSP Client
|
||||
1. Add TreeSitter
|
||||
1. Add Collapsable code blocks
|
||||
1. Add Godot LSP Client
|
||||
1. Add Terminal plugin
|
||||
1. Add Plugin to <Shift\><Ctrl\>| and <Ctrl\>| to split views up, down, left, right
|
||||
1. Add <Ctrl\>i to **lsp_manager** to list who implements xyz
|
||||
|
||||
@@ -25,7 +25,7 @@ class Plugin(PluginCode):
|
||||
if len(history) == history_size:
|
||||
history.pop(0)
|
||||
|
||||
history.append(event.file)
|
||||
history.append(event.file.fpath)
|
||||
|
||||
def load(self):
|
||||
self._manage_signals("register_command")
|
||||
@@ -60,6 +60,6 @@ class Handler:
|
||||
|
||||
view._on_uri_data_received(
|
||||
[
|
||||
history.pop().replace("file://", "")
|
||||
f"file://{history.pop()}"
|
||||
]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user