rubiin / highlighturl.nvim

Highlight all url in buffer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HighlightURL

A simple plugin to highlight URLs in your buffer. Minimal lua port of vim-highlighturl

Installation

Using lazy.nvim in lua

{"rubiin/highlighturl.nvim"}

Setup

Set vim.g.highlighturl = true somewhere in your config(example, init.lua) to enable highlighting.

Screenshots

Before

After

Extras

Highlighting is controlled through the global vim.g.highlighturl variable. You can add a manipulate the boolean variable to turn off highlighting with some custom logic. Note: Doesn't work with lazyloading so be sure to disable lazyloading for this to work.

About

Highlight all url in buffer

License:MIT License


Languages

Language:Lua 100.0%