Browse Source

custom_plugins has been renamed to user_plugins (#745)

Abouzar Parvan 4 năm trước cách đây
mục cha
commit
cd7da50350
2 tập tin đã thay đổi với 16 bổ sung1 xóa
  1. 15 0
      README.md
  2. 1 1
      utils/installer/lv-config.example.lua

+ 15 - 0
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 = { "<cmd>echo 'first custom command'<cr>", "Description for a" },
+--     b = { "<cmd>echo 'second custom command'<cr>", "Description for b" },
+--   },
+-- }
 ```
 
 **NOTE** After changing a setting it is important to exit LunarVim and run the following:

+ 1 - 1
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\""}}