mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 10:35:08 +02:00
formatting
parent
eb0af7c16c
commit
94670dd8d9
1 changed files with 10 additions and 9 deletions
|
@ -9,19 +9,18 @@
|
|||
|
||||
These example configurations are meant to be placed inside lv-config.lua using the custom_plugins table.
|
||||
|
||||
``` bash
|
||||
```bash
|
||||
# lv-config.lua
|
||||
# Other, user-defined plugins will be entries in the custom_plugins table
|
||||
O.custom_plugins = {{<Git Repository>}, {<Another Git Repository>}, {<...etc>}}
|
||||
O.custom_plugins = {{"folke/tokyonight.nvim"}}
|
||||
```
|
||||
|
||||
|
||||
## [TrueZen](https://github.com/Pocco81/TrueZen.nvim)
|
||||
|
||||
### TrueZen Packer declaration
|
||||
|
||||
``` lua
|
||||
```lua
|
||||
-- ~/.config/nvim/lv-config.lua
|
||||
|
||||
{ "Pocco81/TrueZen.nvim",
|
||||
|
@ -35,7 +34,7 @@ O.custom_plugins = {{"folke/tokyonight.nvim"}}
|
|||
|
||||
### TrueZen configuration
|
||||
|
||||
``` lua
|
||||
```lua
|
||||
-- ~/.config/nvim/lua/lv-zen/init.lua
|
||||
|
||||
local M = {}
|
||||
|
@ -107,11 +106,12 @@ return M
|
|||
```
|
||||
|
||||
## [Hop](https://github.com/phaazon/hop.nvim)
|
||||
Allows you to jump anywhere in a document with as few keystrokes as possible.
|
||||
|
||||
Allows you to jump anywhere in a document with as few keystrokes as possible.
|
||||
|
||||
### Hop Packer declaration
|
||||
|
||||
``` lua
|
||||
```lua
|
||||
-- ~/.config/nvim/lv-config.lua
|
||||
|
||||
{"phaazon/hop.nvim",
|
||||
|
@ -125,7 +125,7 @@ Allows you to jump anywhere in a document with as few keystrokes as possible.
|
|||
|
||||
### Hop configuration
|
||||
|
||||
``` lua
|
||||
```lua
|
||||
-- ~/.config/nvim/lua/lv-hop/init.lua
|
||||
|
||||
local M = {}
|
||||
|
@ -141,11 +141,12 @@ M.config = function()
|
|||
```
|
||||
|
||||
## [Nvim-lastplace](https://github.com/ethanholz/nvim-lastplace)
|
||||
Intelligently reopen files at your last edit position.
|
||||
|
||||
Intelligently reopen files at your last edit position.
|
||||
|
||||
### Nvim-lastplace declaration and configs
|
||||
|
||||
``` lua
|
||||
```lua
|
||||
{'ethanholz/nvim-lastplace',
|
||||
event = "BufRead"
|
||||
config = function()
|
||||
|
|
Loading…
Reference in a new issue