loctvl842 / monokai-pro.nvim

Monokai Pro theme for Neovim written in Lua, with multiple filters: Pro, Classic, Machine, Octagon, Ristretto, Spectrum
MIT License
431 stars 42 forks source link

Is there any way to disable plugins ? #30

Closed dtk9289 closed 1 year ago

dtk9289 commented 1 year ago

I'm using indent-blankline but when i use monokai-pro, it doesn't highlight anymore. With indent-blankline plugin image Without it image

loctvl842 commented 1 year ago

Ah it's simple. That's the default color of it. you can override the color of indentblankline.

require("monokai-pro").setup({
  ---@param c Colorscheme
  override = function(c)
    return {
            IndentBlanklineContextChar = { fg = "#ff0000" }, # or c.base.red
            IndentBlanklineContextStart = { sp = "#ff0000" },
  }
})

or simpler, using pro context_highlight

      monokai.setup({
        plugins = {
          indent_blankline = {
            context_highlight = "pro", -- default | pro
            context_start_underline = true,
          },
        },
      })
loctvl842 commented 1 year ago

à bạn người Việt à

dtk9289 commented 1 year ago

Bác cho hỏi luôn, sao để ở dòng if thì hiện mà chuyển xuống dòng dưới nó thì mất, bác có bị vậy ko image image

loctvl842 commented 1 year ago

issue30

Của tôi bình thường mà. Tôi dùng indent-blankline.nvim