Skip to content

Commit

Permalink
Fix the NativeMessagingHosts path for Microsoft Edge
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
ymattw committed Dec 15, 2024
1 parent af68897 commit dfa0907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/firenvim.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dfa0907

Please sign in to comment.