mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 09:26:30 +00:00
vim-patch:9.1.0231: Filetype may be undetected when SwapExists sets ft in other buf (#28136)
Problem: Filetype may be undetected when a SwapExists autocommand sets
filetype in another buffer.
Solution: Make filetype detection state buffer-specific. Also fix a
similar problem for 'modified' (zeertzjq).
closes: vim/vim#14344
5bf6c2117f
This commit is contained in:
@@ -341,8 +341,6 @@ EXTERN bool did_check_timestamps INIT( = false); // did check timestamps
|
||||
// recently
|
||||
EXTERN int no_check_timestamps INIT( = 0); // Don't check timestamps
|
||||
|
||||
EXTERN int modified_was_set; // did ":set modified"
|
||||
|
||||
// Mouse coordinates, set by handle_mouse_event()
|
||||
EXTERN int mouse_grid;
|
||||
EXTERN int mouse_row;
|
||||
|
Reference in New Issue
Block a user