mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-07-16 20:34:29 +02:00
Updated Configurasi (markdown)
parent
374a8fb3ae
commit
b2ed42391b
1 changed files with 10 additions and 10 deletions
|
@ -176,7 +176,7 @@
|
||||||
|
|
||||||
## Ubah Dashboard
|
## Ubah Dashboard
|
||||||
|
|
||||||
### Cari File lua/custom/dashboard.lua
|
- Cari File lua/custom/dashboard.lua
|
||||||
|
|
||||||
- Edit Bagian ini
|
- Edit Bagian ini
|
||||||
|
|
||||||
|
@ -195,7 +195,7 @@ M.dashboard = {
|
||||||
https://patorjk.com/software/taag/
|
https://patorjk.com/software/taag/
|
||||||
|
|
||||||
## Custom Null-ls
|
## Custom Null-ls
|
||||||
### cari file lua/custom/null-ls.lua
|
- cari file lua/custom/null-ls.lua
|
||||||
- tambahkan pada bagian berikut
|
- tambahkan pada bagian berikut
|
||||||
```lua
|
```lua
|
||||||
local m = {
|
local m = {
|
||||||
|
@ -206,7 +206,7 @@ local m = {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
## Register LSP
|
## Register LSP
|
||||||
### Cari file lua/custom/register_lsp.lua
|
- Cari file lua/custom/register_lsp.lua
|
||||||
- ini dilakukan jika LSP tidak terbaca
|
- ini dilakukan jika LSP tidak terbaca
|
||||||
```lua
|
```lua
|
||||||
local m = {
|
local m = {
|
||||||
|
@ -224,7 +224,7 @@ local m = {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
## Whichkey
|
## Whichkey
|
||||||
### cari file lua/custom/whichkey.lua
|
- cari file lua/custom/whichkey.lua
|
||||||
-- file ini digunakan untuk registrasi key mapping
|
-- file ini digunakan untuk registrasi key mapping
|
||||||
```lua
|
```lua
|
||||||
["k"] = {
|
["k"] = {
|
||||||
|
@ -233,7 +233,7 @@ local m = {
|
||||||
},
|
},
|
||||||
```
|
```
|
||||||
## Format On Save
|
## Format On Save
|
||||||
### cari file lua/custom/format_onsave.lua
|
- cari file lua/custom/format_onsave.lua
|
||||||
- lakukan enable atau disable
|
- lakukan enable atau disable
|
||||||
```lua
|
```lua
|
||||||
local M = {
|
local M = {
|
||||||
|
@ -241,10 +241,10 @@ local M = {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
## Custom Autocommand
|
## Custom Autocommand
|
||||||
### cari file lua/default/autocommand.lua
|
- cari file lua/default/autocommand.lua
|
||||||
- Lakukan config sesuai kebutuhan
|
- Lakukan config sesuai kebutuhan
|
||||||
## Cutom Default Option
|
## Cutom Default Option
|
||||||
### cari file lua/default/options.lua
|
- cari file lua/default/options.lua
|
||||||
```
|
```
|
||||||
-- custom oprion disini
|
-- custom oprion disini
|
||||||
|
|
||||||
|
@ -255,7 +255,7 @@ local opt = vim.opt
|
||||||
opt.cmdheight = 0
|
opt.cmdheight = 0
|
||||||
```
|
```
|
||||||
## Custom Key Mapping
|
## Custom Key Mapping
|
||||||
### cari file lua/dafault/keymaps.lua
|
- cari file lua/dafault/keymaps.lua
|
||||||
```
|
```
|
||||||
-- custom key maps disini
|
-- custom key maps disini
|
||||||
local function map(mode, l, r, desc)
|
local function map(mode, l, r, desc)
|
||||||
|
@ -265,7 +265,7 @@ end
|
||||||
map("n", "]h", '<cmd>lua print("Testing")<cr>', "Testing Mapping")
|
map("n", "]h", '<cmd>lua print("Testing")<cr>', "Testing Mapping")
|
||||||
```
|
```
|
||||||
## Custom Plugins
|
## Custom Plugins
|
||||||
### cari file lua/plugin/*
|
- cari file lua/plugin/*
|
||||||
- masukan semua plugin pada folder tersebut
|
- masukan semua plugin pada folder tersebut
|
||||||
- disable plugins
|
- disable plugins
|
||||||
```
|
```
|
||||||
|
@ -278,7 +278,7 @@ map("n", "]h", '<cmd>lua print("Testing")<cr>', "Testing Mapping")
|
||||||
untuk panduan silahkan cek <br>
|
untuk panduan silahkan cek <br>
|
||||||
https://github.com/folke/lazy.nvim#Examples
|
https://github.com/folke/lazy.nvim#Examples
|
||||||
## Custom-Snippets
|
## Custom-Snippets
|
||||||
### Cari File nvim/my-snippet/package.json
|
- Cari File nvim/my-snippet/package.json
|
||||||
- tambahkan custom snippets pada bagian berikut
|
- tambahkan custom snippets pada bagian berikut
|
||||||
```json
|
```json
|
||||||
"contributes": {
|
"contributes": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue