diff options
author | Toby Vincent <tobyv@tobyvin.dev> | 2023-11-07 16:16:18 -0600 |
---|---|---|
committer | Toby Vincent <tobyv@tobyvin.dev> | 2023-11-07 16:19:26 -0600 |
commit | 6801409b984b6bb22c3353f71d2fffef5fa60695 (patch) | |
tree | c7c2d7bef54b8a7f4ec4ed8fe4d8c9cfccf8b0ec /nvim/.config | |
parent | e1b8be563e331a561a764223beaa63090f3824ae (diff) |
feat(nvim): remove `<leader>lf` format keymap...
in an attempt to relearn to use formatexpr through `gq`. This is going
to be rough...
Diffstat (limited to 'nvim/.config')
-rw-r--r-- | nvim/.config/nvim/lua/plugins/conform.lua | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/nvim/.config/nvim/lua/plugins/conform.lua b/nvim/.config/nvim/lua/plugins/conform.lua index 92c6fb6..7e65c73 100644 --- a/nvim/.config/nvim/lua/plugins/conform.lua +++ b/nvim/.config/nvim/lua/plugins/conform.lua @@ -40,12 +40,7 @@ local M = { } function M:init() - local function format() - return require("conform").format({ lsp_fallback = "always" }) - end - vim.o.formatexpr = "v:lua.require'conform'.formatexpr()" - vim.keymap.set({ "n", "v" }, "<leader>lf", format, { desc = "format" }) end return M |