From dfa0907858d120dd3525247445e70165d6cb1015 Mon Sep 17 00:00:00 2001 From: Matt Wang Date: Sun, 15 Dec 2024 10:27:35 +0100 Subject: [PATCH] Fix the NativeMessagingHosts path for Microsoft Edge Fix #1651 for real :). Verified locally by command `nvim +'call firenvim#install(0)' +q`. Saw the firenvim.json file installed under `~/Library/Application Support/Microsoft Edge/NativeMessagingHosts`. --- autoload/firenvim.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/firenvim.vim b/autoload/firenvim.vim index 8aa01871..d0c41c3a 100644 --- a/autoload/firenvim.vim +++ b/autoload/firenvim.vim @@ -499,7 +499,7 @@ function! s:get_edge_manifest_dir_path() abort if !isdirectory(s:build_path(l:p)) let l:p = [$HOME, 'Library', 'Application Support', 'Microsoft Edge'] endif - return s:build_path([l:p, 'NativeMessagingHosts']) + return s:build_path(l:p + ['NativeMessagingHosts']) elseif has('win32') || s:is_wsl return s:get_data_dir_path() end