diff --git a/6.-Configurasi.md b/6.-Configurasi.md index 0b1fd7d..f38d3a8 100644 --- a/6.-Configurasi.md +++ b/6.-Configurasi.md @@ -1,4 +1,4 @@ -## Struktur File
+# Struktur File
``` . @@ -23,7 +23,7 @@ │   └── lualine.lua * Ini contoh plugin ``` -## KeyMap +# KeyMap - leader = space bar - n = normal mode - i = insert mode @@ -136,7 +136,7 @@ -## Config LSP +# Config LSP - Jalankan dengan commond mode @@ -159,7 +159,7 @@ - Rujukan Language Support
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 :
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 :
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 = { 'lua print("Testing")', "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", 'lua print("Testing")', "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", 'lua print("Testing")', "Testing Mapping") ``` untuk panduan silahkan cek
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