cameron-wags / rainbow_csv.nvim

Neovim port of mechatroner/rainbow_csv
MIT License
80 stars 4 forks source link

disable_rainbow_hover in lazyvim #18

Closed GladioFeng closed 9 months ago

GladioFeng commented 9 months ago

lazyvim config for disable ranibow hover

in vimrc with let g:disable_rainbow_hover = 1 to disable hover, how can i config this setting with lazyvim? sorry, I am a lua rookie.🥹🥹🥹

image
cameron-wags commented 9 months ago

You can call vim.g.disable_rainbow_hover = 1 in lua anytime before the plugin loads.

In the lazy spec that's done like this:

{
    'cameron-wags/rainbow_csv.nvim',
    config = function ()
        vim.g.disable_rainbow_hover = 1
        require 'rainbow_csv'.setup()
    end,
    -- ...
},
GladioFeng commented 9 months ago

thanks. it works. 😁