nushell / integrations

A place to gather data required for packaging Nushell and other integrations.
MIT License
4 stars 3 forks source link

feat(nvim): ex-commands `:!` integration #4

Closed 39555 closed 1 month ago

39555 commented 2 months ago

Looks like we've considered everything in discord and now everything should work well

Pr contains settings and comments for using Nushell for:

summary:

vim.opt.sh = "nu"
vim.opt.shelltemp = false
vim.opt.shellcmdflag = "--stdin --no-newline -c"
vim.opt.shellredir = "out+err> %s"
vim.opt.shellpipe = '| complete | update stderr { ansi strip } | tee { get stderr | save --force --raw %s } | into record'
vim.opt.shellxescape = ""
vim.opt.shellxquote = ""
vim.opt.shellquote = ""

Feel free to edit if I wrote something wrong)

fdncred commented 2 months ago

Are we waiting for more people to chime in or should we land this?

melMass commented 1 month ago

I've been using this config fine since its inception! I would merge and it can always be updated but it's working fine as is and allows more vim tricks than before!

fdncred commented 1 month ago

Agreed.