add: update config

This commit is contained in:
asep.komarudin 2024-05-28 20:50:20 +07:00
parent 1f603c154f
commit ff6c42d6ff
3 changed files with 28 additions and 29 deletions

View file

@ -10,7 +10,7 @@
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
"code_runner.nvim": { "branch": "main", "commit": "6c5bfe44a6c7523350cd706e6b3b8101166eed99" },
"codeium.vim": { "branch": "main", "commit": "289eb724e5d6fab2263e94a1ad6e54afebefafb2" },
"darcula-dark.nvim": { "branch": "main", "commit": "f54f45f551c21c361ffb311525b66fdd8a24a44d" },
"darcula-dark.nvim": { "branch": "main", "commit": "e690790ab8a21dd9f1fd9ba36173ff63025d03f2" },
"dressing.nvim": { "branch": "master", "commit": "572314728cb1ce012e825fd66331f52c94acac12" },
"friendly-snippets": { "branch": "main", "commit": "d0610077b6129cf9f7f78afbe3a1425d60f6e2f1" },
"gitsigns.nvim": { "branch": "main", "commit": "76927d14d3fbd4ba06ccb5246e79d93b5442c188" },
@ -43,7 +43,6 @@
"nvim-ts-context-commentstring": { "branch": "main", "commit": "cb064386e667def1d241317deed9fd1b38f0dc2e" },
"nvim-ufo": { "branch": "main", "commit": "a5390706f510d39951dd581f6d2a972741b3fa26" },
"nvim-web-devicons": { "branch": "master", "commit": "5b9067899ee6a2538891573500e8fd6ff008440f" },
"playground": { "branch": "master", "commit": "bcfab84f98a33f2ad34dda6c842046dca70aabf6" },
"plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" },
"promise-async": { "branch": "main", "commit": "38a4575da9497326badd3995e768b4ccf0bb153e" },
"rainbow-delimiters.nvim": { "branch": "master", "commit": "12b1a1e095d968887a17ef791c2edb78d7595d46" },

View file

@ -1,27 +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,
-- "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

@ -682,9 +682,9 @@ return {
vim.api.nvim_create_autocmd("ColorScheme", {
pattern = "*",
callback = function()
local colors = require("darcula").colors()
local hi = vim.api.nvim_set_hl
-- vim.api.nvim_set_hl(0, "BorderBG", { fg = "#4c4c4c" })
-- hi(0, "@property.json", { fg = "#9876AA" })
hi(0, "@property.json", { fg = colors.lavender })
end,
})
end,