docs: typo in init.lua (#2365)

This commit is contained in:
Pablo 2024-01-21 16:10:18 -03:00 committed by Andreas Gerlach
parent 38e450baf3
commit 823d39646c

View file

@ -94,7 +94,7 @@ return {
-- setup autoformat -- setup autoformat
Util.format.register(Util.lsp.formatter()) Util.format.register(Util.lsp.formatter())
-- deprectaed options -- deprecated options
if opts.autoformat ~= nil then if opts.autoformat ~= nil then
vim.g.autoformat = opts.autoformat vim.g.autoformat = opts.autoformat
Util.deprecate("nvim-lspconfig.opts.autoformat", "vim.g.autoformat") Util.deprecate("nvim-lspconfig.opts.autoformat", "vim.g.autoformat")