diff options
| author | Simon Hauser <simon.hauser@helsinki-systems.de> | 2022-07-07 08:27:46 +0200 |
|---|---|---|
| committer | Simon Hauser <simon.hauser@helsinki-systems.de> | 2022-07-07 08:27:46 +0200 |
| commit | f838695459d75a889ae8d96e370957f0f675902a (patch) | |
| tree | 886426677b34edaa04dad95b33a2dc7e3514b8cb /lua/telescope/mappings.lua | |
| parent | 8fe2dde6560667217682b22d77e1e719b7156cda (diff) | |
chore: reformat with stylua 0.14.0
Diffstat (limited to 'lua/telescope/mappings.lua')
| -rw-r--r-- | lua/telescope/mappings.lua | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/lua/telescope/mappings.lua b/lua/telescope/mappings.lua index b81552e..b7baa16 100644 --- a/lua/telescope/mappings.lua +++ b/lua/telescope/mappings.lua @@ -147,11 +147,8 @@ local telescope_map = function(prompt_bufnr, mode, key_bind, key_func, opts) local map_string if opts.expr then - map_string = string.format( - [[luaeval("require('telescope.mappings').execute_keymap(%s, %s)")]], - prompt_bufnr, - key_id - ) + map_string = + string.format([[luaeval("require('telescope.mappings').execute_keymap(%s, %s)")]], prompt_bufnr, key_id) else if mode == "i" and not opts.expr then prefix = "<cmd>" @@ -161,12 +158,8 @@ local telescope_map = function(prompt_bufnr, mode, key_bind, key_func, opts) prefix = ":" end - map_string = string.format( - "%slua require('telescope.mappings').execute_keymap(%s, %s)<CR>", - prefix, - prompt_bufnr, - key_id - ) + map_string = + string.format("%slua require('telescope.mappings').execute_keymap(%s, %s)<CR>", prefix, prompt_bufnr, key_id) end a.nvim_buf_set_keymap(prompt_bufnr, mode, key_bind, map_string, opts) |
