Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bstaletic committed Oct 13, 2024
1 parent e47a87a commit 7b51751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ycm/vimsupport.py
Original file line number Diff line number Diff line change
Expand Up @@ -1203,7 +1203,7 @@ def ReplaceChunk( start, end, replacement_text, vim_buffer ):
def RenameChunk( old_file, new_file, vim_buffer, kind = 'rename' ):
OpenFilename( old_file )
vim.command( f'silent! saveas { new_file }' )
vim.command( f'silent! bw! old_file' )
vim.command( f'silent! bw! { old_file }' )
os.remove( old_file )
return {

Check warning on line 1208 in python/ycm/vimsupport.py

View check run for this annotation

Codecov / codecov/patch

python/ycm/vimsupport.py#L1204-L1208

Added lines #L1204 - L1208 were not covered by tests
'bufnr': vim_buffer.number,
Expand Down

0 comments on commit 7b51751

Please sign in to comment.