Skip to content

joncrangle/visual-lines.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

visual-lines.nvim

Highlight visually selected line numbers in Neovim.

visual-lines

✨ Features

  • Set a custom foreground and background color while visually selecting lines
  • That's it!

📦 Installation and Configuration

folke/lazy.nvim

{
    'joncrangle/visual-lines.nvim',
    event = { 'BufReadPre', 'BufNewFile' }, -- optional
    opts = {},
}
Full configuration with default values
{
    'joncrangle/visual-lines.nvim',
    event = { 'BufReadPre', 'BufNewFile' }, -- optional
    ---@type VisualLineNumbersOptions
    opts = {
        -- your configuration comes here
        -- or leave it empty to use the default settings
        fg = '#F9E2AF', -- defaults to your `CursorLineNr` highlight color
        bg = 'NONE',
        highlight_group = 'VisualLineNr', -- highlight group name
        priority = 10, -- priority for extmarks
    },
}

About

Highlight visually selected line numbers in Neovim.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages