mirror of
https://github.com/zhigang1992/AutoFileName.git
synced 2026-01-12 22:45:57 +08:00
Merge branch 'master' of https://github.com/BoundInCode/AutoFileName
This commit is contained in:
@@ -29,7 +29,7 @@ class FileNameComplete(sublime_plugin.EventListener):
|
||||
|
||||
this_dir = os.path.split(view.file_name())[0] + os.path.sep
|
||||
|
||||
cur_path = view.substr(view.extract_scope(sel-1))
|
||||
cur_path = view.substr(view.extract_scope(sel-1)).replace('\r\n', '\n').split('\n')[0]
|
||||
|
||||
if cur_path.startswith(("'","\"")):
|
||||
cur_path = cur_path[1:-1]
|
||||
|
||||
Reference in New Issue
Block a user