pojokcodeid.nvim-lazy/lua/custom/default.lua

102 lines
3 KiB
Lua
Raw Normal View History

-- custom colorscheme
-- colorscheme ready :
-- tokyonight, tokyonight-night, tokyonight-storm, tokyonight-day, tokyonight-moon
-- gruvbox-baby (default)
-- sonokai, sonokai_atlantis,
-- sonokai_andromeda,sonokai_shusia,sonokai_maia,sonokai_espresso
-- material, material_deepocean, material_palenight, material_lighter, material_darker
2024-05-24 23:43:38 +07:00
-- onedark, onedark_vivid, onedark_dark
-- lunar
-- nord
-- catppuccin, catppuccin-latte, catppuccin-frappe, catppuccin-macchiato, catppuccin-mocha
-- dracula
-- nightfox, dayfox, dawnfox, duskfox, nordfox, terafox, carbonfox
2024-05-26 11:29:10 +07:00
-- github_dark, github_dark_default, github_dark_colorblind, github_dark_dimmed
-- solarized-osaka
vim.g.pcode_colorscheme = "solarized-osaka"
-- 0 =off 1= on
vim.g.pcode_transparent_mode = 0
2024-05-22 20:42:09 +07:00
-- rounded
2024-05-23 14:15:21 +07:00
-- roundedall
2024-05-22 20:42:09 +07:00
-- square
2024-05-23 14:15:21 +07:00
-- triangle
2024-05-23 18:08:15 +07:00
-- parallelogram
-- transparent
2024-05-22 20:42:09 +07:00
-- default
2024-05-23 21:29:02 +07:00
vim.g.pcode_lualinetheme = "roundedall"
-- 0 disable progress
-- 1 lualine lsp progress
-- 2 fidget progress
2024-03-02 18:32:21 +07:00
vim.g.pcode_progress = 1
2024-05-20 08:42:59 +07:00
-- 1 ( format jalan) 0 (fromat off)
vim.g.pcode_format_on_save = 1
-- ini hanya untuk lsp yg tidak support masson
-- untuk referesi support language kunjungi link dibawah
-- https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md
vim.g.pcode_lsp_installer = {
2024-05-22 20:42:09 +07:00
-- "yamlls",
-- tambahkan di bawah sini setelah melakukan :masoninstall
}
-- use for lsp diagnostics virtual text
2023-04-07 09:36:47 +07:00
vim.g.pcode_lsp_virtualtext = true
2023-03-08 06:31:31 +07:00
-- use for lsp ghost text config
2023-04-18 05:08:04 +07:00
vim.g.pcode_lspghost_text = false
-- untuk referesi support language kunjungi link dibawah
-- https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md
2023-03-06 11:50:21 +07:00
vim.g.pcode_mason_ensure_installed = { -- sebelumnya register_lsp
2024-05-22 20:42:09 +07:00
-- "yamlls",
-- "intelephense",
-- "marksman",
-- "csharp_ls",
-- "clangd",
-- "dartls",
-- "kotlin_language_server",
-- tambahkan di bawah sini setelah melakukan :masoninstall
}
vim.g.pcode_unregister_lsp = {
2024-05-22 20:42:09 +07:00
"jdtls", -- tambahkan di bawah ini
}
-- https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/doc/BUILTINS.md
2023-03-06 14:11:29 +07:00
vim.g.pcode_null_ls_ensure_installed = {
2024-05-22 20:42:09 +07:00
"stylua",
2023-03-06 14:11:29 +07:00
}
2023-03-06 14:11:29 +07:00
-- dap instal hanya support linux dan mac
-- https://github.com/jay-babu/mason-nvim-dap.nvim/blob/main/lua/mason-nvim-dap/mappings/source.lua
2023-03-06 14:23:32 +07:00
-- atau gunakan :MasonInstall
2023-03-06 14:11:29 +07:00
vim.g.pcode_dap_ensure_installed = {
2024-05-22 20:42:09 +07:00
-- "python",
2023-03-06 14:11:29 +07:00
}
-- https://github.com/folke/which-key.nvim
2024-05-21 14:20:50 +07:00
vim.g.pcode_whichkey = {
2024-05-22 20:42:09 +07:00
-- contoh penambahan
["k"] = {
name = "Example",
k = { '<cmd>lua print("Testing")<cr>', "Example" },
},
["r"] = {
name = "Run",
j = { "<cmd>Jaq float<CR>", "Run With Jaq" },
},
2024-05-21 14:20:50 +07:00
}
2023-03-05 19:29:48 +07:00
-- https://github.com/CRAG666/code_runner.nvim
2023-03-06 13:27:50 +07:00
-- ready default java, python, typescript, javascript, rust, cpp, scss
2023-03-05 19:29:48 +07:00
vim.g.pcode_coderunner = {
2024-05-22 20:42:09 +07:00
go = "go run $fileName",
html = "live-server $dir/$fileName",
2023-03-05 19:29:48 +07:00
}
-- config for optional cmp
vim.g.pcode_cmprg = false --https://github.com/lukas-reineke/cmp-rg
vim.g.pcode_cmpcalc = false --https://github.com/hrsh7th/cmp-calc
vim.g.pcode_cmptag = false --https://github.com/quangnguyen30192/cmp-nvim-tags