From 7f856981a6f2a481578a46f7cbc36d156a4a3231 Mon Sep 17 00:00:00 2001 From: Tony Grosinger Date: Sat, 1 Jun 2024 16:02:42 -0700 Subject: [PATCH] Neovim: Setup focus --- nvim/lua/custom/plugins/focus.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 nvim/lua/custom/plugins/focus.lua diff --git a/nvim/lua/custom/plugins/focus.lua b/nvim/lua/custom/plugins/focus.lua new file mode 100644 index 0000000..0a496eb --- /dev/null +++ b/nvim/lua/custom/plugins/focus.lua @@ -0,0 +1,15 @@ +-- Resize window to prioritize the focused on. +-- https://github.com/nvim-focus/focus.nvim +return { + 'nvim-focus/focus.nvim', + opts = { + enable = true, + ui = { + -- Display line numbers in the focused window only. + hybridnumber = true, + + -- Display signcolumn in the focussed window only + signcolumn = true, + }, + }, +}