-
Notifications
You must be signed in to change notification settings - Fork 25
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
Flog doesn't output anything when using nushell #121
Comments
Unfortunately I was not able to recreate this. Flog seems to work with the Nu shell for me. You may find it works with this setting on, although it worked with it both on and off for me: vim.g.flog_use_builtin_shellescape = 1 Otherwise, if you could provide the repository it doesn't work on and your Also the output of:
Thanks for reporting. |
I'm new to nushell, but after installing that and configuring it for NeoVim as described, there's still no issue with |
The issue stands with the following config. I am using Windows 11, that could be part of the issue. > nvim -v
NVIM v0.10.0
Build type: Release
LuaJIT 2.1.1713484068
Run "nvim -V1 -v" for more info
> nu -v
0.93.0
> nvim -u init.lua -- init.lua
vim.opt.shell = "nu"
vim.opt.shellcmdflag = '"--config ($env.XDG_CONFIG_HOME | path join nushell/nvim.nu)" --stdin -c'
vim.opt.shellredir = "o+e> %s"
vim.opt.shellpipe = "o+e>| tee { save %s }"
vim.opt.shellslash = true
vim.opt.shellquote = "'"
vim.opt.shellxquote = ""
vim.g.flog_use_builtin_shellescape = true
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable", -- latest stable release
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup({
"rbong/vim-flog",
lazy = true,
cmd = { "Flog", "Flogsplit", "Floggit" },
dependencies = { "tpope/vim-fugitive" },
}, {
change_detection = { notify = false },
}) |
Thanks for the info. WSL or native Windows 11? |
Native Windows 11. I was actually setting up WSL but haven't checked Flog yet. |
I have set the shell in neovim to be nushell, but in that case, running
:Flog
doesn't output anything.Here is the config for the shell:
The text was updated successfully, but these errors were encountered: