commit 6e12ef4a7b4cd966244ac6bce2593943e7df7758
parent 295ab46ea0943fe9783ad5f8f03e0dbc6958db6a
Author: Daniel Kusai <dan.kusai.star.123234@gmail.com>
Date: Sat, 29 Mar 2025 18:49:21 +0300
fix(desktop): cannot open filename with spaces using OS file manager #33161
Problem:
When activated from OS "filetype handling", Nvim cannot handle filenames containing spaces.
Solution:
Quote the filename in the .desktop config.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runtime/nvim.desktop b/runtime/nvim.desktop
@@ -78,7 +78,7 @@ Comment[wa]=Asspougnî des fitchîs tecses
Comment[zh_CN]=编辑文本文件
Comment[zh_TW]=編輯文字檔
TryExec=nvim
-Exec=nvim %F
+Exec=nvim "%F"
Terminal=true
Type=Application
Keywords=Text;editor;