add snippets
This commit is contained in:
6
lua/config/commands.lua
Normal file
6
lua/config/commands.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
vim.api.nvim_create_user_command("Format", function()
|
||||
vim.lsp.buf.format({
|
||||
async = true,
|
||||
timeout_ms = 2000,
|
||||
})
|
||||
end, {})
|
||||
Reference in New Issue
Block a user