Merge pull request #1455 from Sidnicious/patch-1
Fix spurious warning about missing newline at EOF
This commit is contained in:
commit
68ac03a70d
@ -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 )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user