diff options
-rw-r--r-- | ftplugin/ps1.lua | 3 | ||||
-rw-r--r-- | lua/default-config.lua | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/ftplugin/ps1.lua b/ftplugin/ps1.lua new file mode 100644 index 00000000..6d388496 --- /dev/null +++ b/ftplugin/ps1.lua @@ -0,0 +1,3 @@ +require("lsp").setup "ps1" + +vim.cmd [[setlocal ts=4 sw=4]] diff --git a/lua/default-config.lua b/lua/default-config.lua index 021eab06..c4b3155c 100644 --- a/lua/default-config.lua +++ b/lua/default-config.lua @@ -1235,7 +1235,7 @@ lvim.lang = { }, }, gdscript = { - formatter = {}, + formatters = {}, linters = {}, lsp = { provider = "gdscript", @@ -1251,6 +1251,19 @@ lvim.lang = { }, }, }, + ps1 = { + formatters = {}, + linters = {}, + lsp = { + provider = "powershell_es", + setup = { + bundle_path = "", + on_attach = common_on_attach, + on_init = common_on_init, + capabilities = common_capabilities, + }, + }, + }, } require("keymappings").config() |