perf(util): split lazyvim.util in smaller separate modules

This commit is contained in:
Folke Lemaitre committed 2023-10-12 11:48:02 +02:00
1 parent 5f5acb5b88
commit c8c929c9fd
20 files changed
+442 -283

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ return {
},
setup = {
ruff_lsp = function()
require("lazyvim.util").on_attach(function(client, _)
require("lazyvim.util").lsp.on_attach(function(client, _)
if client.name == "ruff_lsp" then
-- Disable hover in favor of Pyright
client.server_capabilities.hoverProvider = false