aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLibravatar sommerfeld <[email protected]>2026-04-17 10:53:03 +0100
committerLibravatar sommerfeld <[email protected]>2026-04-17 10:53:03 +0100
commit14697b691401f200f32e70b1ecb5a8b98b2d4102 (patch)
tree420158d0d76ee78c308937d6388dfbb0b993be5c
parentcba2f80e0a9d4014d8541250fc84cd2fcb84e77d (diff)
downloaddotfiles-14697b691401f200f32e70b1ecb5a8b98b2d4102.tar.gz
dotfiles-14697b691401f200f32e70b1ecb5a8b98b2d4102.tar.bz2
dotfiles-14697b691401f200f32e70b1ecb5a8b98b2d4102.zip
style(nvim): use opt alias consistently and trim trailing blank line
Replace vim.o.mouse with opt.mouse to match the alias defined at the top of the file. Remove extra blank line at EOF.
-rw-r--r--home/.config/nvim/lua/cfg/options.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/home/.config/nvim/lua/cfg/options.lua b/home/.config/nvim/lua/cfg/options.lua
index 0af06e7..1e64f49 100644
--- a/home/.config/nvim/lua/cfg/options.lua
+++ b/home/.config/nvim/lua/cfg/options.lua
@@ -47,7 +47,7 @@ vim.schedule(function()
opt.clipboard = vim.env.SSH_TTY and "" or "unnamedplus"
end)
-vim.o.mouse = "a"
+opt.mouse = "a"
vim.opt.wildmode = { "longest", "full" }
@@ -104,4 +104,3 @@ opt.sessionoptions =
vim.o.exrc = true
-