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
|
||||
|
||||
### Cari File lua/custom/dashboard.lua
|
||||
- Cari File lua/custom/dashboard.lua
|
||||
|
||||
- Edit Bagian ini
|
||||
|
||||
|
@ -195,7 +195,7 @@ M.dashboard = {
|
|||
https://patorjk.com/software/taag/
|
||||
|
||||
## Custom Null-ls
|
||||
### cari file lua/custom/null-ls.lua
|
||||
- cari file lua/custom/null-ls.lua
|
||||
- tambahkan pada bagian berikut
|
||||
```lua
|
||||
local m = {
|
||||
|
@ -206,7 +206,7 @@ local m = {
|
|||
}
|
||||
```
|
||||
## Register LSP
|
||||
### Cari file lua/custom/register_lsp.lua
|
||||
- Cari file lua/custom/register_lsp.lua
|
||||
- ini dilakukan jika LSP tidak terbaca
|
||||
```lua
|
||||
local m = {
|
||||
|
@ -224,7 +224,7 @@ local m = {
|
|||
}
|
||||
```
|
||||
## Whichkey
|
||||
### cari file lua/custom/whichkey.lua
|
||||
- cari file lua/custom/whichkey.lua
|
||||
-- file ini digunakan untuk registrasi key mapping
|
||||
```lua
|
||||
["k"] = {
|
||||
|
@ -233,7 +233,7 @@ local m = {
|
|||
},
|
||||
```
|
||||
## Format On Save
|
||||
### cari file lua/custom/format_onsave.lua
|
||||
- cari file lua/custom/format_onsave.lua
|
||||
- lakukan enable atau disable
|
||||
```lua
|
||||
local M = {
|
||||
|
@ -241,10 +241,10 @@ local M = {
|
|||
}
|
||||
```
|
||||
## Custom Autocommand
|
||||
### cari file lua/default/autocommand.lua
|
||||
- cari file lua/default/autocommand.lua
|
||||
- Lakukan config sesuai kebutuhan
|
||||
## Cutom Default Option
|
||||
### cari file lua/default/options.lua
|
||||
- cari file lua/default/options.lua
|
||||
```
|
||||
-- custom oprion disini
|
||||
|
||||
|
@ -255,7 +255,7 @@ local opt = vim.opt
|
|||
opt.cmdheight = 0
|
||||
```
|
||||
## Custom Key Mapping
|
||||
### cari file lua/dafault/keymaps.lua
|
||||
- cari file lua/dafault/keymaps.lua
|
||||
```
|
||||
-- custom key maps disini
|
||||
local function map(mode, l, r, desc)
|
||||
|
@ -265,7 +265,7 @@ end
|
|||
map("n", "]h", '<cmd>lua print("Testing")<cr>', "Testing Mapping")
|
||||
```
|
||||
## Custom Plugins
|
||||
### cari file lua/plugin/*
|
||||
- cari file lua/plugin/*
|
||||
- masukan semua plugin pada folder tersebut
|
||||
- disable plugins
|
||||
```
|
||||
|
@ -278,7 +278,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
|
||||
### Cari File nvim/my-snippet/package.json
|
||||
- Cari File nvim/my-snippet/package.json
|
||||
- tambahkan custom snippets pada bagian berikut
|
||||
```json
|
||||
"contributes": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue