feat: enable lua lsp snipppets (#660)

This commit is contained in:
Anton Kastritskii 2024-02-29 18:14:36 +00:00 committed by GitHub
parent b58666dd15
commit 38828dcaf7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -562,6 +562,9 @@ require('lazy').setup {
-- If lua_ls is really slow on your computer, you can try this instead: -- If lua_ls is really slow on your computer, you can try this instead:
-- library = { vim.env.VIMRUNTIME }, -- library = { vim.env.VIMRUNTIME },
}, },
completion = {
callSnippet = 'Replace',
},
-- You can toggle below to ignore Lua_LS's noisy `missing-fields` warnings -- You can toggle below to ignore Lua_LS's noisy `missing-fields` warnings
-- diagnostics = { disable = { 'missing-fields' } }, -- diagnostics = { disable = { 'missing-fields' } },
}, },