dotfiles/neovim/.config/nvim/lua/warrenhood/commands.lua

3 lines
74 B
Lua

-- Format file
vim.cmd "silent! command! Format lua vim.lsp.buf.format()"