10 lines
314 B
Lua
10 lines
314 B
Lua
-- Make it easier to run black
|
|
vim.api.nvim_create_user_command('Black', 'call Black()', {})
|
|
|
|
-- Insert IPDB statement
|
|
vim.api.nvim_create_user_command('IPDB', 'norm oimport ipdb; ipdb.set_trace() # fmt:skip', {})
|
|
|
|
-- Format the document
|
|
vim.api.nvim_create_user_command('Format', 'lua vim.lsp.buf.format()', {})
|
|
|