/nvim-cursorline

A plugin for neovim that highlights cursor words and lines

Primary LanguageLuaMIT LicenseMIT

nvim-cursorline

Highlight words and lines on the cursor for Neovim

  • Underlines the word under the cursor.
cursorword.mp4
  • Show / hide cursorline in connection with cursor moving.
cursorline.mp4

Installation

Install with your favorite plugin manager.

Usage

require('nvim-cursorline').setup {
  cursorline = {
    enable = true,
    timeout = 1000,
    number = false,
  },
  cursorword = {
    enable = true,
    min_length = 3,
    hl = { underline = true },
  }
}

Acknowledgments

Thanks goes to these people/projects for inspiration:

License

This software is released under the MIT License, see LICENSE.