mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-07-07 07:54:28 +02:00
update
This commit is contained in:
parent
c33d5f2f0f
commit
69d848dece
4 changed files with 19 additions and 15 deletions
|
@ -9,9 +9,8 @@ vim.g.mapleader = " "
|
|||
vim.g.maplocalleader = " "
|
||||
require("lazy").setup({
|
||||
spec = {
|
||||
{
|
||||
import = "plugins",
|
||||
},
|
||||
{ import = "plugins" },
|
||||
{ import = "custom.plugins" },
|
||||
},
|
||||
defaults = {
|
||||
lazy = true, -- every plugin is lazy-loaded by default
|
||||
|
|
4
lua/custom/plugins/init.lua
Normal file
4
lua/custom/plugins/init.lua
Normal file
|
@ -0,0 +1,4 @@
|
|||
return {
|
||||
--- masukan plugin tambahan disini
|
||||
{ "folke/trouble.nvim", enabled = false }, -- ini untuk disable plugin
|
||||
}
|
|
@ -336,18 +336,18 @@ return {
|
|||
end,
|
||||
},
|
||||
-- makes some plugins dot-repeatable like leap
|
||||
-- { "tpope/vim-repeat", event = "VeryLazy" },
|
||||
{ "tpope/vim-repeat", event = "VeryLazy" },
|
||||
-- better diagnostics list and others
|
||||
-- {
|
||||
-- "folke/trouble.nvim",
|
||||
-- event = "BufRead",
|
||||
-- cmd = { "TroubleToggle", "Trouble" },
|
||||
-- opts = { use_diagnostic_signs = true },
|
||||
-- keys = {
|
||||
-- { "<leader>xx", "<cmd>TroubleToggle document_diagnostics<cr>", desc = "Document Diagnostics (Trouble)" },
|
||||
-- { "<leader>xX", "<cmd>TroubleToggle workspace_diagnostics<cr>", desc = "Workspace Diagnostics (Trouble)" },
|
||||
-- },
|
||||
-- },
|
||||
{
|
||||
"folke/trouble.nvim",
|
||||
event = "BufRead",
|
||||
cmd = { "TroubleToggle", "Trouble" },
|
||||
opts = { use_diagnostic_signs = true },
|
||||
keys = {
|
||||
{ "<leader>xx", "<cmd>TroubleToggle document_diagnostics<cr>", desc = "Document Diagnostics (Trouble)" },
|
||||
{ "<leader>xX", "<cmd>TroubleToggle workspace_diagnostics<cr>", desc = "Workspace Diagnostics (Trouble)" },
|
||||
},
|
||||
},
|
||||
-- for markdown preview
|
||||
-- make sure already install npm and yarn
|
||||
-- {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue