mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
chore(nvim): turn of document formatting for html in LSP
This commit is contained in:
@@ -105,6 +105,11 @@ M.on_attach = function(client, bufnr)
|
||||
client.resolved_capabilities.document_formatting = false
|
||||
end
|
||||
|
||||
-- HTML
|
||||
if client.name == "html" then
|
||||
client.resolved_capabilities.document_formatting = false
|
||||
end
|
||||
|
||||
-- Stylelint
|
||||
if client.name == "stylelint_lsp" then
|
||||
client.resolved_capabilities.document_formatting = false
|
||||
|
||||
Reference in New Issue
Block a user