aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-08-31 23:15:39 +0900
committernsfisis <nsfisis@gmail.com>2025-08-31 23:15:39 +0900
commit5ccfeb4d58967359b605497bb1df7963387b0813 (patch)
treecbec5937760c063d0fd54b2e6b973421ec3e60be
parent5d0db166e9f9dd54716df34e0d9e14983a0a3051 (diff)
downloaddotfiles-5ccfeb4d58967359b605497bb1df7963387b0813.tar.gz
dotfiles-5ccfeb4d58967359b605497bb1df7963387b0813.tar.zst
dotfiles-5ccfeb4d58967359b605497bb1df7963387b0813.zip
nvim: fix tmux detection
-rw-r--r--.config/nvim/lua/init/01-options.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/nvim/lua/init/01-options.lua b/.config/nvim/lua/init/01-options.lua
index 41f7e61..4072d97 100644
--- a/.config/nvim/lua/init/01-options.lua
+++ b/.config/nvim/lua/init/01-options.lua
@@ -79,7 +79,7 @@ O.confirm = true
O.clipboard = 'unnamed'
-- Prefer 'tmux' to 'wl-copy' or 'pbcopy' if in tmux.
-if vim.env.tmux then
+if vim.env.TMUX then
vim.g.clipboard = 'tmux'
end