Idk why * doesnt configure all lsps
This commit is contained in:
@@ -47,6 +47,8 @@ return {
|
||||
|
||||
-- lua
|
||||
vim.lsp.config("lua_ls", {
|
||||
capabilities = capabilities,
|
||||
on_attach = on_attach,
|
||||
settings = {
|
||||
Lua = {
|
||||
hint = {
|
||||
@@ -87,6 +89,8 @@ return {
|
||||
|
||||
-- python
|
||||
vim.lsp.config("pyright", {
|
||||
capabilities = capabilities,
|
||||
on_attach = on_attach,
|
||||
before_init = function(_, config)
|
||||
local python_path = get_python_path(config.root_dir)
|
||||
if python_path == nil then
|
||||
@@ -130,6 +134,8 @@ return {
|
||||
|
||||
-- powershell
|
||||
vim.lsp.config("powershell_es", {
|
||||
capabilities = capabilities,
|
||||
on_attach = on_attach,
|
||||
bundle_path = vim.fn.stdpath("data") .. "/mason/packages/powershell-editor-services",
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user