diff options
| author | 2024-07-24 19:19:26 +0200 | |
|---|---|---|
| committer | 2024-07-24 19:19:26 +0200 | |
| commit | 01586921b3d5f2ac1ccf8196d3ad9b4b3ddd31f3 (patch) | |
| tree | d740ac5e8943e48ee4132efc4633051d6cdf1d48 /dot_config/nvim/lua/bindings/init.lua | |
| parent | nvim: ignore lazy-lock.json (diff) | |
nvim: rewrite config in fennel
One file isn't done, and there's also the question of ftplugin and co.
One step at a time though, eh?
Diffstat (limited to '')
| -rw-r--r-- | dot_config/nvim/lua/bindings/init.lua | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/dot_config/nvim/lua/bindings/init.lua b/dot_config/nvim/lua/bindings/init.lua index 4108782..1b8c2b8 100644 --- a/dot_config/nvim/lua/bindings/init.lua +++ b/dot_config/nvim/lua/bindings/init.lua @@ -1,15 +1,5 @@ -for _, v in ipairs { - 'builtins', - 'plugins', -} do - require ('bindings.' .. v) +-- [nfnl] Compiled from fnl/bindings/init.fnl by https://github.com/Olical/nfnl, do not edit. +for _, v in ipairs({"builtins", "plugins"}) do + require(("bindings." .. v)) end - --- general bindings that aren't specific to a plugin -require 'which-key'.add { - -- diagnostics - { '<leader>e', vim.diagnostic.open_float, desc = 'diag float' }, - { '<leader>q', vim.diagnostic.setloclist, desc = 'diag locations' }, - { '[d', vim.diagnostic.goto_prev, desc = 'prev diag' }, - { ']d', vim.diagnostic.goto_next, desc = 'next diag' }, -} +return (require("which-key")).add({{"<leader>e", vim.diagnostic.open_float, desc = "diag float"}, {"<leader>q", vim.diagnostic.setloclist, desc = "diag locations"}, {"[d", vim.diagnostic.goto_prev, desc = "prev diag"}, {"]d", vim.diagnostic.goto_next, desc = "next diag"}}) |
