add: config colorscheme dracula jetbrains theme

This commit is contained in:
asep.komarudin 2024-05-28 11:53:17 +07:00
parent 962640b935
commit 8cf225424b
4 changed files with 41 additions and 5 deletions

View file

@ -13,7 +13,8 @@
-- nightfox, dayfox, dawnfox, duskfox, nordfox, terafox, carbonfox
-- github_dark, github_dark_default, github_dark_colorblind, github_dark_dimmed
-- solarized-osaka
vim.g.pcode_colorscheme = "dracula"
-- darcula-dark
vim.g.pcode_colorscheme = "darcula-dark"
-- 0 =off 1= on
vim.g.pcode_transparent_mode = 0

View file

@ -0,0 +1,27 @@
return {
"folke/playground",
lazy = true,
event = "BufRead",
config = function()
require("nvim-treesitter.configs").setup {
playground = {
enable = true,
disable = {},
updatetime = 25, -- Debounced time for highlighting nodes in the playground from source code
persist_queries = false, -- Whether the query persists across vim sessions
keybindings = {
toggle_query_editor = "o",
toggle_hl_groups = "i",
toggle_injected_languages = "t",
toggle_anonymous_nodes = "a",
toggle_language_display = "I",
focus_language = "f",
unfocus_language = "F",
update = "R",
goto_node = "<cr>",
show_help = "?",
},
},
}
end,
}

View file

@ -672,4 +672,11 @@ return {
require("solarized-osaka").setup(opts)
end,
},
{
"pojokcodeid/darcula-dark.nvim",
enabled = (color == "darcula-dark") and true or false,
priority = 1000,
lazy = false,
config = function() end,
},
}