mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-27 11:18:53 +02:00
Updated 6. Configurasi (markdown)
parent
f1746d9051
commit
9741b12650
1 changed files with 13 additions and 13 deletions
|
@ -1,4 +1,4 @@
|
|||
## Struktur File <br>
|
||||
# Struktur File <br>
|
||||
|
||||
```
|
||||
.
|
||||
|
@ -23,7 +23,7 @@
|
|||
│ └── lualine.lua * Ini contoh plugin
|
||||
```
|
||||
|
||||
## KeyMap
|
||||
# KeyMap
|
||||
- leader = space bar
|
||||
- n = normal mode
|
||||
- i = insert mode
|
||||
|
@ -136,7 +136,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
|
||||
## Config LSP
|
||||
# Config LSP
|
||||
|
||||
- Jalankan dengan commond mode
|
||||
|
||||
|
@ -159,7 +159,7 @@
|
|||
- Rujukan Language Support <br>
|
||||
https://github.com/nvim-treesitter/nvim-treesitter#supported-languages
|
||||
|
||||
## Ubah Dashboard
|
||||
# Ubah Dashboard
|
||||
|
||||
- Cari File lua/custom/dashboard.lua
|
||||
|
||||
|
@ -179,7 +179,7 @@ M.dashboard = {
|
|||
- Link Generate Dasboard
|
||||
https://patorjk.com/software/taag/
|
||||
|
||||
## Custom Null-ls
|
||||
# Custom Null-ls
|
||||
- cari file lua/custom/null-ls.lua
|
||||
- tambahkan pada bagian berikut
|
||||
```lua
|
||||
|
@ -192,7 +192,7 @@ local m = {
|
|||
```
|
||||
- Untuk Acuan Silahkan Kunjungi : <br>
|
||||
https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/doc/BUILTINS.md
|
||||
## Register LSP
|
||||
# Register LSP
|
||||
- Cari file lua/custom/register_lsp.lua
|
||||
- ini dilakukan jika LSP tidak terbaca
|
||||
```lua
|
||||
|
@ -212,7 +212,7 @@ local m = {
|
|||
```
|
||||
- untuk acuan silahkan cek : <br>
|
||||
https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md
|
||||
## Whichkey
|
||||
# Whichkey
|
||||
- cari file lua/custom/whichkey.lua
|
||||
-- file ini digunakan untuk registrasi key mapping
|
||||
```lua
|
||||
|
@ -221,7 +221,7 @@ https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.m
|
|||
k = { '<cmd>lua print("Testing")<cr>', "Example" },
|
||||
},
|
||||
```
|
||||
## Format On Save
|
||||
# Format On Save
|
||||
- cari file lua/custom/format_onsave.lua
|
||||
- lakukan enable atau disable
|
||||
```lua
|
||||
|
@ -229,7 +229,7 @@ local M = {
|
|||
disable = 0, -- 0 ( format jalan) 1 (fromat off)
|
||||
}
|
||||
```
|
||||
## Custom Autocommand
|
||||
# Custom Autocommand
|
||||
- cari file lua/default/autocommand.lua
|
||||
- Lakukan config sesuai kebutuhan
|
||||
- Contoh :
|
||||
|
@ -242,7 +242,7 @@ vim.cmd([[
|
|||
augroup end
|
||||
]])
|
||||
```
|
||||
## Cutom Default Option
|
||||
# Cutom Default Option
|
||||
- cari file lua/default/options.lua
|
||||
- Contoh Config:
|
||||
```lua
|
||||
|
@ -301,7 +301,7 @@ end
|
|||
-- Fix markdown indentation settings
|
||||
vim.g.markdown_recommended_style = 0
|
||||
```
|
||||
## Custom Key Mapping
|
||||
# Custom Key Mapping
|
||||
- cari file lua/dafault/keymaps.lua
|
||||
```
|
||||
-- custom key maps disini
|
||||
|
@ -311,7 +311,7 @@ end
|
|||
-- ini adalah contoh
|
||||
map("n", "]h", '<cmd>lua print("Testing")<cr>', "Testing Mapping")
|
||||
```
|
||||
## Custom Plugins
|
||||
# Custom Plugins
|
||||
- cari file lua/plugin/*
|
||||
- masukan semua plugin pada folder tersebut
|
||||
- disable plugins
|
||||
|
@ -324,7 +324,7 @@ map("n", "]h", '<cmd>lua print("Testing")<cr>', "Testing Mapping")
|
|||
```
|
||||
untuk panduan silahkan cek <br>
|
||||
https://github.com/folke/lazy.nvim#Examples
|
||||
## Custom-Snippets
|
||||
# Custom-Snippets
|
||||
- Cari File nvim/my-snippet/package.json
|
||||
- tambahkan custom snippets pada bagian berikut
|
||||
```json
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue