feat(config): added new plugins
This commit is contained in:
22
lua/plugins/pair-ls.lua
Normal file
22
lua/plugins/pair-ls.lua
Normal 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,
|
||||
},
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user