From 1e54c56fa18fd19520b64d5a32564011bbf96585 Mon Sep 17 00:00:00 2001 From: Micah Halter Date: Mon, 3 Jul 2023 13:08:30 -0400 Subject: [PATCH] feat(pack): add PowerShell language pack --- lua/astrocommunity/pack/ps1/README.md | 6 ++++++ lua/astrocommunity/pack/ps1/init.lua | 9 +++++++++ 2 files changed, 15 insertions(+) create mode 100644 lua/astrocommunity/pack/ps1/README.md create mode 100644 lua/astrocommunity/pack/ps1/init.lua diff --git a/lua/astrocommunity/pack/ps1/README.md b/lua/astrocommunity/pack/ps1/README.md new file mode 100644 index 000000000..95e49eed9 --- /dev/null +++ b/lua/astrocommunity/pack/ps1/README.md @@ -0,0 +1,6 @@ +# PowerShell Language Pack + +This plugin pack does the following: + +- Adds `powershell-editor-services` language server +- Adds [vim-ps1](https://github.com/PProvost/vim-ps1) for language specific tooling diff --git a/lua/astrocommunity/pack/ps1/init.lua b/lua/astrocommunity/pack/ps1/init.lua new file mode 100644 index 000000000..42210c748 --- /dev/null +++ b/lua/astrocommunity/pack/ps1/init.lua @@ -0,0 +1,9 @@ +local utils = require "astronvim.utils" + +return { + { + "williamboman/mason-lspconfig.nvim", + opts = function(_, opts) opts.ensure_installed = utils.list_insert_unique(opts.ensure_installed, "powershell_es") end, + }, + { "PProvost/vim-ps1", ft = "ps1" }, +}