mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-26 18:58:51 +02:00
Updated 7. Contoh Custom Plugins (markdown)
parent
80270b322b
commit
6939fe0844
1 changed files with 16 additions and 16 deletions
|
@ -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 : <br>
|
||||
For detail information please refer to: <br>
|
||||
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 : <br>
|
||||
- For detail information refer to : <br>
|
||||
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 : <br>
|
||||
For Detail Refer to : <br>
|
||||
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"]={"<cmd>Neotree toggle<cr>","Explorer"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue