-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nvim sub-tools (path) like bat (for file preview in fzf) broken #36
Comments
Does it work if the |
I just added some log in #37 , just pull the latest master to use it.
You will see something like:
That is the command line which glrnvim is using to start alacrity + nvim.
I don't have a BigSur right now, I will try to reproduce the problem if I can find one. |
zsh output: [2021-04-04T14:43:34Z DEBUG glrnvim] unset $TERM_PROGRAM
[2021-04-04T14:43:34Z DEBUG glrnvim] unset $TERM_PROGRAM_VERSION
[2021-04-04T14:43:34Z DEBUG glrnvim] Start command: "/Users/joehannes/.cargo/bin/alacritty" "--config-file" "/var/folders/m4/fclbk1x959l1cfy36prwjwq40000gp/T/.tmp5dgjMe" "--class" "glrnvim" "--working-directory" "/Users/joehannes/.local/git/glrnvim" "-e" "nvim" "+set termguicolors" "+set title" "--cmd" "let g:glrnvim_gui=1" also, it's apparently not about finding the tool for the preview or its path (anyway) ... let $FZF_DEFAULT_OPTS = '--layout=reverse --preview="bat --style=numbers --color=always --line-range :500 {}"' doesn't change a thing, cat is not previewing in the same misbehavior also, i tried to comment my |
also, just to let you know, was just playing around with starting it from more built in terminal apps like 'Terminal' ...
I got that one before as well, but on |
Same issue as above, with alacritty as well. Glrnvim does not read environment variable This issue might be specifically a Unix issue, since it occurs both on Mac and OpenBSD. |
I just tried by setting |
I discovered it was more than just rust based applications, it is safe to assume it is all user level additions to I am using lua to configure my init file. The directory, |
What I tried is nothing special:
Then in glrnvim:
|
I am much grateful for your patience and generosity. No less than twenty minutes ago, a benevolent reddit user gave me the answer on how to accomplish this in lua: vim.env.PATH = '/path/to/additional/bin' .. '/path/another/bin' .. vim.env.PATH It has worked like a charm, and glrnvim is back in the driver's seat. Thanks for all the work you do! |
I'm on macOS BigSur
I installed via cargo build, then creating an executable.sh with
Hooking this skript up via Alfred Powerpack to a Shortcut ...
I get my glrnvim with this glrnvim.yml
Everything seemed to work, until I used a regular fuzzy finding preview and the preview was broken. That's glrnvim specific somehow, because it works in pure alacritty/nvim.
It's a pity, I was happy for a sec, but then, I can't use it like that.
The text was updated successfully, but these errors were encountered: