Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any way to disable plugins ? #30

Closed
dtk9289 opened this issue May 19, 2023 · 4 comments
Closed

Is there any way to disable plugins ? #30

dtk9289 opened this issue May 19, 2023 · 4 comments

Comments

@dtk9289
Copy link

dtk9289 commented May 19, 2023

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
Copy link
Owner

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
Copy link
Owner

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

@dtk9289
Copy link
Author

dtk9289 commented May 19, 2023

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
Copy link
Owner

issue30

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

@dtk9289 dtk9289 closed this as completed May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants