add: config global variable

This commit is contained in:
asep.komarudin 2024-05-21 14:20:50 +07:00
parent 77436b89c4
commit a7726a6b33
30 changed files with 703 additions and 857 deletions

View file

@ -1,3 +1,4 @@
vim.g.pcode_icons = require("user.icons")
-- custom colorscheme
-- colorscheme ready :
-- tokyonight, tokyonight-night, tokyonight-storm, tokyonight-day, tokyonight-moon
@ -77,24 +78,17 @@ vim.g.pcode_dap_ensure_installed = {
}
-- https://github.com/folke/which-key.nvim
-- vim.g.pcode_whichkey = {
-- contoh penambahan
-- ["k"] = {
-- name = "Example",
-- k = { '<cmd>lua print("Testing")<cr>', "Example" },
-- },
-- ["r"] = {
-- name = "Run",
-- j = { "<cmd>Jaq float<CR>", "Run With Jaq" },
-- },
-- ["o"] = { "<cmd>SymbolsOutline<cr>", "Symbol Outline" },
-- ["m"] = {
-- name = "Minimap",
-- c = { "<cmd>lua require('mini.map').close()<cr>", "Minimap Close" },
-- o = { "<cmd>lua require('mini.map').open()<cr>", "Minimap Open" },
-- },
-- ["e"] = { "<cmd>NvimTreeToggle<CR>", "Explorer" },
-- }
vim.g.pcode_whichkey = {
-- contoh penambahan
["k"] = {
name = "Example",
k = { '<cmd>lua print("Testing")<cr>', "Example" },
},
["r"] = {
name = "Run",
j = { "<cmd>Jaq float<CR>", "Run With Jaq" },
},
}
-- https://github.com/CRAG666/code_runner.nvim
-- ready default java, python, typescript, javascript, rust, cpp, scss