Skip to content

babarot/cursor-x.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

cursor-x.nvim

Automatically highlight the cursorline and cusorcolumn after the elapse of certain milliseconds.

Quick start

{
  'b4b4r07/cursor-x.nvim',
  lazy = true,
  event = { 'BufRead' },
  config = function()
    require('cursor-x').setup({
      interval = 3000, -- 3s
      filetype_exclude = { 'neo-tree', 'yaml' },
    })
  end,
}

Configuration

{
  interval = 3000,
  always_cursorline = true,
  -- example: if following original option setting
  -- always_cursorline = vim.opt.cursorline:get(),
  filetype_exclude = {'dirvish', 'fugitive'},
  buftype_exclude = {},
}

Functions

require('cursor-x').enable()

Globally enable highlighing.

require('cursor-x').disable()

Globally disable highlighing.

Thanks

auto-cursorline.nvim

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages