mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 01:46:29 +00:00
refactor: the long goodbye
long is 32 bits on windows, while it is 64 bits on other architectures. This makes the type suboptimal for a codebase meant to be cross-platform. Replace it with more appropriate integer types.
This commit is contained in:
@@ -822,7 +822,7 @@ void op_format(oparg_T *oap, bool keep_cursor)
|
||||
saved_cursor = oap->cursor_start;
|
||||
}
|
||||
|
||||
format_lines((linenr_T)oap->line_count, keep_cursor);
|
||||
format_lines(oap->line_count, keep_cursor);
|
||||
|
||||
// Leave the cursor at the first non-blank of the last formatted line.
|
||||
// If the cursor was moved one line back (e.g. with "Q}") go to the next
|
||||
|
Reference in New Issue
Block a user