Mofiqul / vscode.nvim

Neovim/Vim color scheme inspired by Dark+ and Light+ theme in Visual Studio Code
MIT License
692 stars 111 forks source link

feat: Add support for rcarriga/nvim-dap-ui #173

Closed fnune closed 6 months ago

fnune commented 6 months ago

This PR adds support for nvim-dap-ui. I also saw that a DiagnosticOk highlight was missing, so I added it (I was initially using it for the DAP highlights).

Screenshot from 2024-02-23 22-55-39

Before (dark) Before (light) After (dark) After (light)
Screenshot from 2024-02-23 23-01-18 Screenshot from 2024-02-23 22-59-52 Screenshot from 2024-02-23 22-55-09 Screenshot from 2024-02-23 22-56-42
Screenshot from 2024-02-23 23-00-51 Screenshot from 2024-02-23 22-59-47 Screenshot from 2024-02-23 22-55-39 Screenshot from 2024-02-23 22-56-57

If anyone's curious how to add the play, stop, etc. icons, here't my (partial) config (requires nvim-web-devicons):

  {
    "rcarriga/nvim-dap-ui",
    lazy = true,
    dependencies = { "mfussenegger/nvim-dap" },
    opts = {
      controls = {
        element = "repl",
        enabled = true,
        icons = {
          disconnect = " F1",
          play = " F5",
          pause = " F6",
          terminate = " F7",
          run_last = " F4",
          step_back = " F9",
          step_over = " F10",
          step_into = " F11",
          step_out = " F12",
        },
      },
    }
  }