Skip to content

Commit

Permalink
mac/win use the chrome directory for brave
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Ryall committed Nov 11, 2020
1 parent 936f83c commit 419e3db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoload/firenvim.vim
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,9 @@ endfunction

function! s:get_brave_manifest_dir_path() abort
if has('mac')
return s:build_path([$HOME, 'Library', 'Application Support', 'BraveSoftware', 'Brave-Browser', 'NativeMessagingHosts'])
return s:get_chrome_manifest_dir_path()
elseif has('win32')
return s:build_path([$HOME, 'AppData', 'Local', 'BraveSoftware', 'Brave-Browser', 'NativeMessageingHosts'])
return s:get_chrome_manifest_dir_path()
end
return s:build_path([$HOME, '.config', 'BraveSoftware', 'Brave-Browser', 'NativeMessagingHosts'])
endfunction
Expand Down

0 comments on commit 419e3db

Please sign in to comment.