diff options
author | Daniel Kusai <dan.kusai.star.123234@gmail.com> | 2025-03-29 18:49:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-29 08:49:21 -0700 |
commit | 6e12ef4a7b4cd966244ac6bce2593943e7df7758 (patch) | |
tree | cd3ce673089827f978a3d43ba6577f00554f4b63 | |
parent | 295ab46ea0943fe9783ad5f8f03e0dbc6958db6a (diff) | |
download | rneovim-6e12ef4a7b4cd966244ac6bce2593943e7df7758.tar.gz rneovim-6e12ef4a7b4cd966244ac6bce2593943e7df7758.tar.bz2 rneovim-6e12ef4a7b4cd966244ac6bce2593943e7df7758.zip |
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.
-rw-r--r-- | runtime/nvim.desktop | 2 |
1 files changed, 1 insertions, 1 deletions
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; |