fix nvimconfig

This commit is contained in:
AntoXa PRO 2023-10-02 12:30:24 +03:00
parent eb9c12d6bb
commit da47cf5192

View File

@ -12,8 +12,6 @@ null_ls.setup {
}, },
on_attach = function (client, bufnr) on_attach = function (client, bufnr)
if client.supports_method('textDocument/formatting') then if client.supports_method('textDocument/formatting') then
print('Test textDocument/formatting')
-- Create a command `:Format` local to the LSP buffer -- Create a command `:Format` local to the LSP buffer
vim.api.nvim_buf_create_user_command(bufnr, 'Format', function(_) vim.api.nvim_buf_create_user_command(bufnr, 'Format', function(_)
vim.lsp.buf.format() vim.lsp.buf.format()