Closed smileboywtu closed 8 years ago
after several minutes finding in the source, I just find the code block
def get_display_name(self, short=False):
"""
Return name as displayed.
"""
if self.location is None:
return '[New file]'
elif short:
return os.path.basename(self.location)
else:
return self.location
should i use the get_display_name() to get the filename, any way I can't find the filename in the edior.py or buffer_editor.py
ok, fine just change the editor_buffer.filename to editor_buffer.get_display_name()
I just install the pyvim successfully, but when I download the config file and use f9 to run the script, this error ocurrs,
erros happens at : if editor_buffer is not None: i use the fish 2.1 shell
anyone know how to config this script at fish shell?