Implenent most of the vscode variables

This commit is contained in:
Ben Jackson 2019-07-24 21:18:14 +01:00
commit 59a8d1b578
3 changed files with 39 additions and 2 deletions

View file

@ -380,3 +380,10 @@ def DisplayBaloon( is_term, display ):
vim.eval( "balloon_show( {0} )".format(
json.dumps( display ) ) )
def GetBufferFilepath( buf ):
if not buf.name:
return ''
return os.path.normpath( buf.name )