added lightspeed and prisma
This commit is contained in:
parent
071ad77c08
commit
0baf2e257d
|
|
@ -280,5 +280,9 @@ return require("packer").startup(
|
|||
require("plugins/copilot")
|
||||
end
|
||||
}
|
||||
use {
|
||||
"ggandor/lightspeed.nvim",
|
||||
requires = {"tpope/vim-repeat"},
|
||||
}
|
||||
end
|
||||
)
|
||||
|
|
|
|||
|
|
@ -45,6 +45,15 @@ require("formatter").setup(
|
|||
stdin = true
|
||||
}
|
||||
end
|
||||
},
|
||||
prisma = {
|
||||
function()
|
||||
return {
|
||||
exe = "npx",
|
||||
args = {"prisma", "format", "--schema=" .. vim.api.nvim_buf_get_name(0)},
|
||||
stdin = false
|
||||
}
|
||||
end
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -38,5 +38,10 @@ require("nvim-web-devicons").set_icon {
|
|||
icon = "",
|
||||
color = "#0288D1",
|
||||
name = "TsConfig"
|
||||
},
|
||||
["prisma"] = {
|
||||
icon = "",
|
||||
color = "#FFFFFF",
|
||||
name = "Prisma"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ require "lspconfig".eslint.setup {
|
|||
on_attach = on_attach,
|
||||
cmd = {"java-language-server"}
|
||||
} ]]
|
||||
local servers = {"pyright", "bashls", "clangd", "cssls", "texlab", "rust_analyzer"}
|
||||
local servers = {"pyright", "bashls", "clangd", "cssls", "texlab", "rust_analyzer", "prismals"}
|
||||
for _, lsp in ipairs(servers) do
|
||||
nvim_lsp[lsp].setup {
|
||||
on_attach = on_attach,
|
||||
|
|
|
|||
Loading…
Reference in New Issue