mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-23 01:08:59 +02:00
perf(util): split lazyvim.util in smaller separate modules
This commit is contained in:
parent
b304db9236
commit
aa0e4f52e4
20 changed files with 442 additions and 283 deletions
|
@ -64,7 +64,7 @@ return {
|
|||
yamlls = function()
|
||||
-- Neovim < 0.10 does not have dynamic registration for formatting
|
||||
if vim.fn.has("nvim-0.10") == 0 then
|
||||
require("lazyvim.util").on_attach(function(client, _)
|
||||
require("lazyvim.util").lsp.on_attach(function(client, _)
|
||||
if client.name == "yamlls" then
|
||||
client.server_capabilities.documentFormattingProvider = true
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue