diff --git a/Example-plugin-configurations.md b/Example-plugin-configurations.md index ac152aa..578cb60 100644 --- a/Example-plugin-configurations.md +++ b/Example-plugin-configurations.md @@ -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 = {{}, {}, {<...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()