mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-08-02 00:54:50 +02:00
feat(lazyterm): optional shell setup, mainly for pwsh. Fixes #2151
This commit is contained in:
parent
7a5dbeae75
commit
3d4ab4eb26
2 changed files with 37 additions and 0 deletions
|
@ -12,6 +12,12 @@ vim.g.autoformat = true
|
|||
-- * a function with signature `function(buf) -> string|string[]`
|
||||
vim.g.root_spec = { "lsp", { ".git", "lua" }, "cwd" }
|
||||
|
||||
-- Optionally setup the terminal to use
|
||||
-- This sets `vim.o.shell` and does some additional configuration for:
|
||||
-- * pwsh
|
||||
-- * powershell
|
||||
-- LazyVim.terminal.setup("pwsh")
|
||||
|
||||
local opt = vim.opt
|
||||
|
||||
opt.autowrite = true -- Enable auto write
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue