51 Commits

Author SHA1 Message Date
6d6ec2ee05 runtime(netrw): correct wrong version check
The version check introduced with commit edd4ac3e8 has a logic error.
Also it should only trigger when trying to use the netrw plugin and not
always.

fixes: #16541

Signed-off-by: Christian Brabandt <cb@256bit.org>
2025-01-30 11:00:35 +01:00
ec961b05dc runtime(netrw): upstream snapshot of v176
relevant commits:
- deprecate!: netrw#Launch, netrw#Open and gx mappings
- refactor: move some utility functions in a private file
- feat: add function to deprecate features
- refactor!: remove NetrwClean command and function
- refactor: use appropriate directories to store temporary files
- refactor: better way to call vim.ui.open
- refactor(Open): prefer lua wrapper function instead of cmdline
- refactor!: drop vim 7 checks
- refactor: use vim.ui.open when using neovim
- refactor: remove s:CheckIfKde
- refactor: balloon functionality
- refactor!: remove netrw#Access function

closes: #16519

Signed-off-by: Luca Saccarola <github.e41mv@aleeas.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2025-01-29 18:39:30 +01:00
9cfdabb074 runtime(netrw): change netrw maintainer
Dr. Chip retired some time ago and is no longer maintaining the netrw
plugin. However as a runtime plugin distributed by Vim, it important to
maintain the netrw plugin in the future and fix bugs as they are
reported.

So, split out the netrw plugin as an additional package, however include
some stubs to make sure the plugin is still loaded by default and the
documentation is accessible as well.

closes: #16368

Signed-off-by: Luca Saccarola <github.e41mv@aleeas.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2025-01-17 13:03:53 +01:00
c363ca1ecd runtime(netrw): change indent size from 1 to 2
closes: #16248

Signed-off-by: Luca Saccarola <github.e41mv@aleeas.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-12-19 20:16:18 +01:00
8b0fa7a565 runtime(netrw): make :Launch/Open autoloadable
fixes: #15959
closes: #15962

Co-authored-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Konfekt <Konfekt@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-10-31 09:21:23 +01:00
d69ffbe4bc runtime(netrw): add missing change for s:redir()
Somehow, that change got lost in commit 70197885

Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-10-28 21:24:47 +01:00
70197885a8 runtime(netrw): improve netrw's open-handling further
closes: #15956

Signed-off-by: Enno <Konfekt@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-10-28 20:47:25 +01:00
7c96776729 runtime(netrw): fix syntax error in netrwPlugin.vim
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-10-28 07:03:24 +01:00
3d7e567ea7 runtime(netrw): simplify gx file handling
It did not work very well, at least on Debian 12, and I am not sure Git
Bash and WSL, for example, were taken care of as maintenance stalled.

The whole logic was somewhat convoluted with some parts repeatedly invoking
failed commands.

The file handling was outdated, for example, nowadays Netscape is rarely
used, and also opinionated, for example mainly Microsoft Paint and Gimp for
Image files.

Instead, let's use (xdg-)open and similar commands on other systems
which respects the user's preferences.

closes: #15721

Co-authored-by: Luca Saccarola <96259932+saccarosium@users.noreply.github.com>
Signed-off-by: Konfekt <Konfekt@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-10-27 22:16:49 +01:00
1e34b95e44 runtime(netrw): Remove and cleanup Win9x legacy from netrw
closes: #14732

Signed-off-by: Nir Lichtman <nir@lichtman.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-08 19:19:34 +02:00
f9ca139e3a runtime(misc): announce adoption of various runtime files
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-02-19 20:46:49 +01:00
b7398fe41c Update runtime files 2023-05-14 18:50:25 +01:00
71badf9547 Update runtime files 2023-04-22 22:40:14 +01:00
89a9c159f2 Update runtime files 2021-08-29 21:55:35 +02:00
1d59aa1fdf Update runtime files. 2020-09-19 18:50:13 +02:00
2963456ff2 Update runtime files. 2020-01-09 21:46:04 +01:00
91359014b3 Update runtime files. 2019-11-30 17:57:03 +01:00
5ef1c6a483 Update runtime files 2019-11-10 22:09:11 +01:00
589edb3404 Updte runtime files 2019-09-20 14:38:13 +02:00
85850f3a5e Update runtime files 2019-07-19 22:05:51 +02:00
4697399e8c move netrw back to the previous version 2017-12-14 19:56:46 +01:00
b0d45e7f53 Update runtime files. 2017-11-05 18:19:24 +01:00
aa3b15dbeb Updated runtime files. 2016-04-21 08:53:19 +02:00
e0fa3742ea Updated runtime files. 2016-02-20 15:47:01 +01:00
a0f849ee40 Update runtime files. 2015-10-30 14:37:44 +01:00
8feef4ff62 Update runtime files. 2015-01-07 16:57:10 +01:00
13600303c5 Runtime file updates. 2014-05-22 18:26:40 +02:00
a687837516 Updated runtime files. 2014-03-22 21:02:50 +01:00
8d04317104 Updated runtime files. 2014-01-23 14:24:41 +01:00
e6ae6225b4 Updated runtime files, language files and translations. 2013-05-21 21:01:10 +02:00
ff0341946e Updated runtime files. 2013-04-24 18:51:19 +02:00
97d62497f5 Updated runtime files. 2012-11-15 21:28:22 +01:00
5b435d671e Updated runtime files. 2012-04-05 17:33:26 +02:00
1514667a24 Updated runtime files. 2011-10-20 22:22:38 +02:00
251e191271 Updated runtime files. 2011-06-19 05:09:16 +02:00
adc2182c40 Updated runtime files. 2011-04-01 18:03:16 +02:00
477db060eb More runtime file updates. 2010-07-28 18:17:41 +02:00
5ac3b1aae2 Updated runtime files. New netrw plugin version. 2010-07-27 22:50:36 +02:00
00a927d62b Updated runtime files. 2010-05-14 23:24:24 +02:00
5c73622a90 Update runtime files. 2010-01-06 20:54:52 +01:00
ed39e1d53c updated for version 7.2-000 2008-08-09 17:55:22 +00:00
e37d50a5de updated for version 7.2c-000 2008-08-06 17:06:04 +00:00
c236c16d08 updated for version 7.2b-000 2008-07-13 17:41:49 +00:00
f233048a12 updated for version 7.2a 2008-06-24 20:19:36 +00:00
dd2a3cda55 updated for version 7.1a 2007-05-05 17:10:09 +00:00
af48b0924f updated for version 7.0224 2006-03-14 22:51:38 +00:00
0fd9289de3 updated for version 7.0219 2006-03-09 22:27:48 +00:00
b8a7b560b1 updated for version 7.0191 2006-02-01 21:47:16 +00:00
a5792f5890 updated for version 7.0158 2005-11-23 21:25:05 +00:00
8349fd7c7e updated for version 7.0157 2005-10-12 20:52:20 +00:00