diff options
author | rebuilt <[email protected]> | 2021-07-31 17:32:02 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-31 15:32:02 +0000 |
commit | d700a706b1c524197c3638d8d084b907db2cd623 (patch) | |
tree | 79559dbaf9bbc1def0d920945cf56dc808d95302 /lua/keymappings.lua | |
parent | de200da87d22c0a6e6505c3618fa64a53f9bf4c1 (diff) |
Wraps the logic in parenthesis so it works correctly (#1190)
Diffstat (limited to 'lua/keymappings.lua')
-rw-r--r-- | lua/keymappings.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/keymappings.lua b/lua/keymappings.lua index 3a509c69..937a5e8b 100644 --- a/lua/keymappings.lua +++ b/lua/keymappings.lua @@ -99,7 +99,7 @@ if vim.fn.has "mac" == 1 then keymaps.normal_mode[8][1] = "<A-Right>" end -vim.g.mapleader = lvim.leader == "space" and " " or lvim.leader +vim.g.mapleader = (lvim.leader == "space" and " ") or lvim.leader -- navigate tab completion with <c-j> and <c-k> -- runs conditionally |