From 6939fe08444e71b3f5b8854a249e3b0161b06348 Mon Sep 17 00:00:00 2001 From: Asep Komarudin <68836805+pojokcodeid@users.noreply.github.com> Date: Sun, 31 Dec 2023 14:02:34 +0700 Subject: [PATCH] Updated 7. Contoh Custom Plugins (markdown) --- 7.-Contoh-Custom-Plugins.md | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/7.-Contoh-Custom-Plugins.md b/7.-Contoh-Custom-Plugins.md index 7c44306..b6da23d 100644 --- a/7.-Contoh-Custom-Plugins.md +++ b/7.-Contoh-Custom-Plugins.md @@ -1,6 +1,6 @@ # Mini Animate -- buat file lua/plugin/mini_animate.lua -- masukan code berikut +- Create file lua/plugin/mini_animate.lua +- Fill the code like this ```lua return { -- animations @@ -43,12 +43,12 @@ return { }, } ``` -info detail silahkan kunjungi :
+For detail information please refer to:
https://github.com/echasnovski/mini.animate # JSON -- buat file lua/plugin/json.lua -- masukan code berikut : +- Create the file lua/plugin/json.lua +- File the code like this : ```lua return { @@ -93,8 +93,8 @@ return { } ``` # Markdown Preview -- buat file lua/plugin/markdown.lua -- tambahkan code berikut didalamnya: +- Create the file lua/plugin/markdown.lua +- Fill the code like this: ```lua return{ "iamcco/markdown-preview.nvim", @@ -107,11 +107,11 @@ return{ cmd = { "MarkdownPreview", "MarkdownPreviewStop", "MarkdownPreviewToggle" }, } ``` -- detail kunjungi :
+- For detail information refer to :
https://github.com/iamcco/markdown-preview.nvim # Config Java (JDTLS) -- Intall java dan create java home +- Intall java and create java home ``` echo export JAVA_HOME='$(readlink -f /usr/bin/javac | sed "s:/bin/javac::")' | sudo tee /etc/profile.d/jdk_home.sh > /dev/null echo $JAVA_HOME @@ -124,7 +124,7 @@ echo $JAVA_HOME ``` :MasonInstall jdtls java-debug-adapter ``` -- Tambahkan plugin pada file lua/plugin/init.lua +- Add the plugin in file lua/plugin/init.lua ``` { "mfussenegger/nvim-jdtls", event = "BufRead" }, ``` @@ -285,12 +285,12 @@ vim.cmd( }, ``` -Detail Silahkan Kunjungi :
+For Detail Refer to :
https://github.com/Pocco81/auto-save.nvim # Override Lualine -- buat file lua/plugin/lualine.lua -- Tambahkan code berikut : +- Create the file lua/plugin/lualine.lua +- Fill the code like this : ```lua return { "nvim-lualine/lualine.nvim", @@ -518,8 +518,8 @@ return { } ``` # Config Neotree -- Buat file lua/plugin/neotree.lua -- Tambahkan code berikut +- Create the file lua/plugin/neotree.lua +- Fill the code like this : ```lua return { { "kyazdani42/nvim-tree.lua", enabled = false }, @@ -598,7 +598,7 @@ return { }, } ``` -- Tambahkan key mapping pada file lua/custom/whichkey.lua +- Add key mappings in file lua/custom/whichkey.lua ``` return { ["e"]={"Neotree toggle","Explorer"},