Skip to content

Commit

Permalink
feat(pack): add PowerShell language pack (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter authored Jul 3, 2023
1 parent 290ed1b commit 4564f0d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lua/astrocommunity/pack/ps1/README.md
Original file line number Diff line number Diff line change
@@ -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
9 changes: 9 additions & 0 deletions lua/astrocommunity/pack/ps1/init.lua
Original file line number Diff line number Diff line change
@@ -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" },
}

0 comments on commit 4564f0d

Please sign in to comment.