From 9a3bc4d2213ce381e904a828a7b5e547b9db91f2 Mon Sep 17 00:00:00 2001 From: Asep Komarudin <68836805+pojokcodeid@users.noreply.github.com> Date: Wed, 1 Mar 2023 09:38:19 +0700 Subject: [PATCH] Updated 7. Contoh Custom Plugins (markdown) --- 7.-Contoh-Custom-Plugins.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/7.-Contoh-Custom-Plugins.md b/7.-Contoh-Custom-Plugins.md index ec01b91..914294c 100644 --- a/7.-Contoh-Custom-Plugins.md +++ b/7.-Contoh-Custom-Plugins.md @@ -1119,4 +1119,22 @@ return{ } ``` Sumber : -https://github.com/simrat39/symbols-outline.nvim \ No newline at end of file +https://github.com/simrat39/symbols-outline.nvim + +# trouble.nvim +- but file lua/plugin/trouble.lua +```lua +return{ + "folke/trouble.nvim", + event = "BufRead", + cmd = { "TroubleToggle", "Trouble" }, + opts = { use_diagnostic_signs = true }, + keys = { + { "xx", "TroubleToggle document_diagnostics", desc = "Document Diagnostics (Trouble)" }, + { "xX", "TroubleToggle workspace_diagnostics", desc = "Workspace Diagnostics (Trouble)" }, + }, +} + +``` +summer : +https://github.com/folke/trouble.nvim