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

178 lines
4.9 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
-- 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
-- darcula-dark
2024-05-30 19:03:34 +07:00
-- juliana
2024-06-16 09:00:47 +07:00
pcode.colorscheme = "dracula"
-- 0 =off 1= on
2024-06-14 08:21:36 +07:00
pcode.transparent_mode = 0
2024-06-14 22:21:19 +07:00
-- https://github.com/nvim-lualine/lualine.nvim
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-06-14 08:21:36 +07:00
pcode.lualinetheme = "roundedall"
-- 0 disable progress
-- 1 lualine lsp progress
-- 2 fidget progress
2024-06-14 08:21:36 +07:00
pcode.progress = 1
2024-05-29 16:15:20 +07:00
-- 0 = on full text mode info,
-- 1 = on initial mode + logo
-- 2 = logo only
-- 3 = initial only
-- 4 = off
2024-06-14 08:21:36 +07:00
pcode.show_mode = 3
2024-05-29 16:15:20 +07:00
2024-06-26 16:46:25 +07:00
-- true or false
pcode.format_on_save = true
2024-06-14 08:21:36 +07:00
pcode.format_timeout_ms = 5000
-- https://github.com/mfussenegger/nvim-lint
-- https://github.com/stevearc/conform.nvim
-- use conform and nvim-lint if set true
pcode.disable_null_ls = false
2024-06-22 09:33:55 +07:00
pcode.treesitter_ensure_installed = {}
-- 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
2024-06-14 08:21:36 +07:00
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
2024-06-14 08:21:36 +07:00
pcode.lsp_virtualtext = true
2023-03-08 06:31:31 +07:00
-- use for lsp ghost text config
2024-06-14 08:21:36 +07:00
pcode.lspghost_text = false
-- untuk referesi support language kunjungi link dibawah
-- https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md
2024-06-14 08:21:36 +07:00
pcode.mason_ensure_installed = { -- sebelumnya register_lsp
2024-05-22 20:42:09 +07:00
-- "yamlls",
-- tambahkan di bawah sini setelah melakukan :masoninstall
}
2024-06-14 08:21:36 +07:00
pcode.unregister_lsp = {
-- "jdtls", -- tambahkan di bawah ini
}
-- https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/doc/BUILTINS.md
2024-06-14 08:21:36 +07:00
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
2024-06-14 08:21:36 +07:00
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-06-14 08:21:36 +07:00
pcode.whichkey = {
2024-05-22 20:42:09 +07:00
-- contoh penambahan
["r"] = {
2024-06-14 07:01:34 +07:00
name = "  Run",
2024-05-22 20:42:09 +07:00
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
2024-06-14 08:21:36 +07:00
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
}
2024-06-14 22:21:19 +07:00
-- https://github.com/nvim-tree/nvim-tree.lua
2024-05-31 14:00:49 +07:00
-- 0 = normal
-- 1 = float
2024-06-14 08:21:36 +07:00
pcode.nvimtree_isfloat = 0
2024-06-02 06:48:51 +07:00
2024-06-14 22:21:19 +07:00
-- https://github.com/roobert/tailwindcss-colorizer-cmp.nvim
2024-06-14 08:21:36 +07:00
pcode.tailwindcolorizer = false
2024-06-14 22:21:19 +07:00
2024-06-05 12:28:31 +07:00
-- https://github.com/Exafunction/codeium.vim
2024-06-14 08:21:36 +07:00
pcode.codeium = false
2024-06-14 22:21:19 +07:00
2024-06-05 12:28:31 +07:00
-- https://github.com/Exafunction/codeium.nvim
2024-06-14 08:21:36 +07:00
pcode.codeium_nvim = true
2024-06-14 22:21:19 +07:00
2024-06-05 12:28:31 +07:00
-- https://github.com/kevinhwang91/nvim-ufo
2024-06-14 08:21:36 +07:00
pcode.nvimufo = false
2024-06-14 22:21:19 +07:00
2024-06-05 12:28:31 +07:00
-- https://github.com/echasnovski/mini.indentscope
2024-06-14 08:21:36 +07:00
pcode.indentscope = true
2024-06-14 22:21:19 +07:00
2024-06-05 12:28:31 +07:00
-- https://github.com/echasnovski/mini.animate
2024-06-14 08:21:36 +07:00
pcode.minianimate = false
2024-06-02 19:31:26 +07:00
2024-06-14 22:21:19 +07:00
-- https://github.com/hrsh7th/nvim-cmp
2024-06-14 08:21:36 +07:00
pcode.disable_cmpdoc = false
2024-06-14 22:21:19 +07:00
2024-06-07 23:12:05 +07:00
-- https://github.com/rachartier/tiny-devicons-auto-colors.nvim
2024-06-14 08:21:36 +07:00
pcode.adaptive_color_icon = true
2024-06-14 22:21:19 +07:00
2024-06-07 23:12:05 +07:00
-- https://github.com/lukas-reineke/virt-column.nvim
2024-06-14 08:21:36 +07:00
pcode.columnline = true
2024-06-07 20:15:49 +07:00
2024-06-25 06:41:59 +07:00
-- https://github.com/okuuva/auto-save.nvim
pcode.auto_save = false
2024-06-25 06:41:59 +07:00
2024-06-25 07:22:10 +07:00
-- https://github.com/folke/todo-comments.nvim
2024-06-25 10:25:26 +07:00
pcode.todo_comment = false
2024-06-25 07:22:10 +07:00
2024-06-14 22:21:19 +07:00
-- https://github.com/nvim-telescope/telescope.nvim
2024-06-07 20:15:49 +07:00
---@alias telescope_themes
---| "cursor" # see `telescope.themes.get_cursor()`
---| "dropdown" # see `telescope.themes.get_dropdown()`
---| "ivy" # see `telescope.themes.get_ivy()`
---| "center" # retain the default telescope theme
2024-06-14 08:21:36 +07:00
pcode.telescope_theme_find_file = "center"
pcode.telescope_theme_live_grep = "dropdown"
2024-06-14 22:21:19 +07:00
2024-06-18 15:02:23 +07:00
-- https://github.com/ThePrimeagen/refactoring.nvim
pcode.refactoring = false
2024-06-12 18:38:25 +07:00
-- https://github.com/kristijanhusak/vim-dadbod-ui
2024-06-14 08:21:36 +07:00
pcode.database = false
2024-06-14 06:46:42 +07:00
2024-06-14 22:21:19 +07:00
-- https://github.com/rest-nvim/rest.nvim
pcode.rest_client = true
2024-06-16 21:45:19 +07:00
-- https://github.com/mfussenegger/nvim-dap
2024-06-18 09:13:56 +07:00
pcode.nvim_dap = false -- not support for windows os (auto config mason-nvim-dap)
2024-06-22 08:20:55 +07:00
2024-06-22 13:00:28 +07:00
-- conefig special support test & dap
2024-06-22 10:29:08 +07:00
pcode.active_rust_config = false
pcode.active_javascript_config = {
2024-06-24 17:04:13 +07:00
active = true,
2024-06-22 10:29:08 +07:00
jest_command = "npm test -- ",
jest_config = "jest.config.mjs",
}
pcode.active_php_config = false
2024-06-24 08:03:25 +07:00
pcode.active_golang_config = false
2024-06-22 20:22:21 +07:00
pcode.active_python_config = false
2024-06-25 10:25:26 +07:00
pcode.active_cpp_config = false
2024-06-23 17:02:53 +07:00
pcode.active_java_config = {
2024-06-25 17:18:05 +07:00
active = false,
2024-06-23 17:02:53 +07:00
project = "gradle", -- gradle or maven
}