summaryrefslogtreecommitdiff
path: root/pkgs/old-custom-neovim/config/lua/plugins/focus.lua
blob: 560f3cea3ca467f1cf3b7276723bea79efaab18e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require("focus").setup {
  enable = true,
  split = {
    -- bufnew = true,
  },
  ui = {
    winhighlight = true, -- Highlight focused and unfocused windows
    signcolumn = false, -- Signcolumn on all windows
    -- cursorline = false,
  },
}

vim.api.nvim_create_autocmd("WinEnter", {
  pattern = "picker",
  callback = function(args)
    vim.b[args.buf].cursorline = false
  end,
})