Skip to content

xiantang/darcula-dark.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧛🏻‍♂️ Darcula Dark for Neovim

The Darcula Dark theme is a Neovim colorscheme that's designed to emulate the popular Darcula color scheme from JetBrains' GoLand IDE. It is ideal for long hours of coding, offering a dark theme that's easy on the eyes. Despite trying various alternatives in Neovim, we found nothing quite matched up, hence we embarked on creating this color scheme ourselves.

image

comparing with the original Darcula theme in GoLand:

image

Installation

To install this color scheme, add the following to your plugin configuration:

lazy.nvim

{
    "xiantang/darcula-dark.nvim",
    dependencies = {
        "nvim-treesitter/nvim-treesitter",
    },
}

if you want to customize darcula-dark: like disabling integrated plugins

return {
	{
		"xiantang/darcula-dark.nvim",
		config = function()
			-- setup must be called before loading
			require("darcula").setup({
				override = function(c)
					return {
						background = "#333333",
						dark = "#000000"
					}
				end,
				opt = {
					integrations = {
						telescope = false,
						lualine = true,
						lsp_semantics_token = true,
						nvim_cmp = true,
						dap_nvim = true,
					},
				},
			})
		end,
	},
}

packer.nvim

  use {
    'xiantang/darcula-dark.nvim',
    requires = {"nvim-treesitter/nvim-treesitter"}
  }

TODO

Supported Plugins

  • telescope
  • Treesitter
  • cmp-nvim
  • copilot.vim
  • dap.nvim
  • eyeline.nvim
  • gitsign.nvim
  • hop.nvim
  • nerdtree.vim
  • lspsaga.nvim
  • scrollbar.nvim
  • lualine.nvim

Usage

lua

vim.cmd.colorscheme("darcula-dark")

vimscript

colorscheme darcula-dark

Requirements

This color scheme requires Neovim v0.8.3 or higher, as it uses LSP Semantic tokens. It also depends on nvim-treesitter/nvim-treesitter.

Debug

make sure your true color: https://gist.github.com/andersevenrud/015e61af2fd264371032763d4ed965b6

Alternatives

Credits