From 6e12ef4a7b4cd966244ac6bce2593943e7df7758 Mon Sep 17 00:00:00 2001 From: Daniel Kusai Date: Sat, 29 Mar 2025 18:49:21 +0300 Subject: [PATCH] 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. --- runtime/nvim.desktop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/nvim.desktop b/runtime/nvim.desktop index f9feae926d..50326fa618 100644 --- 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;