Merge pull request #1455 from Sidnicious/patch-1

Fix spurious warning about missing newline at EOF
This commit is contained in:
Val Markovic 2015-04-15 10:09:10 -07:00
commit 68ac03a70d

View File

@ -100,7 +100,8 @@ def GetUnsavedAndCurrentBufferData():
continue continue
buffers_data[ GetBufferFilepath( buffer_object ) ] = { buffers_data[ GetBufferFilepath( buffer_object ) ] = {
'contents': '\n'.join( buffer_object ), # Add a newline to match what gets saved to disk. See #1455 for details.
'contents': '\n'.join( buffer_object ) + '\n',
'filetypes': FiletypesForBuffer( buffer_object ) 'filetypes': FiletypesForBuffer( buffer_object )
} }