nixos-configs/common/home/neovim/base.lua

2 lines
125 B
Lua

-- Add `:Format` command to format current buffer
vim.api.nvim_create_user_command("Format", "call CocAction('format')", {})