From cd7da503505d6707fbe9f674e8b75fed00f1e690 Mon Sep 17 00:00:00 2001 From: Abouzar Parvan Date: Wed, 7 Jul 2021 11:06:56 +0430 Subject: custom_plugins has been renamed to user_plugins (#745) --- README.md | 15 +++++++++++++++ utils/installer/lv-config.example.lua | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 90314c58..192f9721 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,21 @@ O.lang.tsserver.autoformat = true -- json O.lang.json.autoformat = true + +-- Additional Plugins +-- O.user_plugins = {{"windwp/nvim-ts-autotag"}} + +-- Autocommands (https://neovim.io/doc/user/autocmd.html) +-- O.user_autocommands = {{ "BufWinEnter", "*", "echo \"hi again\""}} + +-- Additional Leader bindings for WhichKey +-- O.user_which_key = { +-- A = { +-- name = "+Custom Leader Keys", +-- a = { "echo 'first custom command'", "Description for a" }, +-- b = { "echo 'second custom command'", "Description for b" }, +-- }, +-- } ``` **NOTE** After changing a setting it is important to exit LunarVim and run the following: diff --git a/utils/installer/lv-config.example.lua b/utils/installer/lv-config.example.lua index c4333a4b..958debc0 100644 --- a/utils/installer/lv-config.example.lua +++ b/utils/installer/lv-config.example.lua @@ -45,7 +45,7 @@ O.lang.python.analysis.use_library_code_types = true O.lang.tsserver.linter = nil -- Additional Plugins --- O.custom_plugins = {{"windwp/nvim-ts-autotag"}} +-- O.user_plugins = {{"windwp/nvim-ts-autotag"}} -- Autocommands (https://neovim.io/doc/user/autocmd.html) -- O.user_autocommands = {{ "BufWinEnter", "*", "echo \"hi again\""}} -- cgit v1.2.3