feat(config): added new plugins

This commit is contained in:
2024-02-11 22:45:25 +03:00
parent a75ccc662c
commit 0b8227060e
27 changed files with 663 additions and 464 deletions

22
lua/plugins/pair-ls.lua Normal file
View File

@@ -0,0 +1,22 @@
return {
"stevearc/pair-ls.nvim",
-- Call the setup function
opts = {
-- The pair-ls command to run
cmd = { "pair-ls", "lsp", "-port", "8099" },
-- The function configures the root directory for the server
root_dir = function(fname, util)
return util.root_pattern(".git", ".hg")(fname) or vim.loop.cwd()
end,
-- Pass a function here to run custom logic on attach
on_attach = function(client, bufnr) end,
-- See :help vim.lsp.start_client
flags = {
allow_incremental_sync = true,
debounce_text_changes = nil,
},
}
}