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

3 lines
125 B
Lua

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