Files
neovim/test/functional/lua
Michele Sorcinelli 69b286c3bf fix(vim.net): filetype detection, mark unmodified #36297
Problem:
When running ":edit <url>", filetype detection is not triggered.

Solution:
Run the autocmds in the filetypedetect group after loading the content.

Problem:
After fetching remote content from a URL and adding it to the buffer,
the buffer is marked as modified. This is inconsistent with the original
netrw behavior, and it causes problems with `:e` to refresh or `:q` as
it prompts for saving the file even if the user hasn't touched the
content at all.

Solution:
Mark the buffer as unmodified right after adding the remote content to
the buffer.
2025-11-19 22:04:59 -08:00
..
2024-04-23 18:17:04 +02:00
2025-08-24 23:43:48 +00:00
2025-01-09 09:26:45 -08:00
2025-09-03 23:03:51 -04:00
2024-04-23 18:17:04 +02:00