aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Rodrigues Lordello <[email protected]>2024-03-24 09:18:04 +0100
committerNicholas Rodrigues Lordello <[email protected]>2024-06-27 22:38:22 +0200
commitb931f480a6885c0c5b27643f6edf49558fe90be6 (patch)
treed153ab5bd96c9a9e6be2335cb9dc998cc46b8188
parent2d437af6f1f9196b57e474378dac4d81fc70f3c9 (diff)
local indentation options
-rw-r--r--config/nvim/lua/config/keys.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/nvim/lua/config/keys.lua b/config/nvim/lua/config/keys.lua
index ecf5890..a0a5546 100644
--- a/config/nvim/lua/config/keys.lua
+++ b/config/nvim/lua/config/keys.lua
@@ -24,10 +24,10 @@ local function setup()
},
x = {
name = "indentation",
- ["2"] = {"<cmd>set expandtab shiftwidth=2 tabstop=2<cr>", "2-space"},
- ["4"] = {"<cmd>set expandtab shiftwidth=4 tabstop=4<cr>", "4-space"},
- t = {"<cmd>set noexpandtab shiftwidth=4 tabstop=4<cr>", "small tabs"},
- T = {"<cmd>set noexpandtab shiftwidth=8 tabstop=8<cr>", "big tabs"},
+ ["2"] = {"<cmd>setlocal expandtab shiftwidth=2 tabstop=2<cr>", "2-space"},
+ ["4"] = {"<cmd>setlocal expandtab shiftwidth=4 tabstop=4<cr>", "4-space"},
+ t = {"<cmd>setlocal noexpandtab shiftwidth=4 tabstop=4<cr>", "small tabs"},
+ T = {"<cmd>setlocal noexpandtab shiftwidth=8 tabstop=8<cr>", "big tabs"},
},
}, {
prefix = "<leader>",