@@ -99,71 +99,10 @@ That's it! Lazy will install all the plugins you have. Use `:Lazy` to view
9999current plugin status. Hit ` q ` to close the window.
100100
101101Read through the ` init.lua ` file in your configuration folder for more
102- information about extending and exploring Neovim.
102+ information about extending and exploring Neovim. That includes also
103+ examples of adding popularly requested plugins.
103104
104105
105- #### Examples of adding popularly requested plugins
106-
107- NOTE: You'll need to uncomment the line in the init.lua that turns on loading custom plugins.
108-
109- <details >
110- <summary >Adding autopairs</summary >
111-
112- This will automatically install [ windwp/nvim-autopairs] ( https://github.com/windwp/nvim-autopairs )
113- and enable it on startup. For more information, see documentation for
114- [ lazy.nvim] ( https://github.com/folke/lazy.nvim ) .
115-
116- In the file: ` lua/custom/plugins/autopairs.lua ` , add:
117-
118- ``` lua
119- -- File: lua/custom/plugins/autopairs.lua
120-
121- return {
122- " windwp/nvim-autopairs" ,
123- -- Optional dependency
124- dependencies = { ' hrsh7th/nvim-cmp' },
125- config = function ()
126- require (" nvim-autopairs" ).setup {}
127- -- If you want to automatically add `(` after selecting a function or method
128- local cmp_autopairs = require (' nvim-autopairs.completion.cmp' )
129- local cmp = require (' cmp' )
130- cmp .event :on (
131- ' confirm_done' ,
132- cmp_autopairs .on_confirm_done ()
133- )
134- end ,
135- }
136- ```
137-
138- </details >
139- <details >
140- <summary >Adding a file tree plugin</summary >
141-
142- This will install the tree plugin and add the command ` :Neotree ` for you.
143- For more information, see the documentation at
144- [ neo-tree.nvim] ( https://github.com/nvim-neo-tree/neo-tree.nvim ) .
145-
146- In the file: ` lua/custom/plugins/filetree.lua ` , add:
147-
148- ``` lua
149- -- File: lua/custom/plugins/filetree.lua
150-
151- return {
152- " nvim-neo-tree/neo-tree.nvim" ,
153- version = " *" ,
154- dependencies = {
155- " nvim-lua/plenary.nvim" ,
156- " nvim-tree/nvim-web-devicons" , -- not strictly required, but recommended
157- " MunifTanjim/nui.nvim" ,
158- },
159- config = function ()
160- require (' neo-tree' ).setup {}
161- end ,
162- }
163- ```
164-
165- </details >
166-
167106### Getting Started
168107
169108[ The Only Video You Need to Get Started with Neovim] ( https://youtu.be/m8C0Cq9Uv9o )
0 commit comments