feat(cfg): add support for wrap with abbreviation
feat(cfg): move custom plugins to a separate file feat(cfg): uncomment kickstart plugins
This commit is contained in:
		
							parent
							
								
									da79e57e2a
								
							
						
					
					
						commit
						2e4ccafb32
					
				
							
								
								
									
										10
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										10
									
								
								init.lua
								
								
								
								
							|  | @ -67,9 +67,6 @@ vim.opt.rtp:prepend(lazypath) | |||
| require('lazy').setup({ | ||||
|   -- NOTE: First, some plugins that don't require any configuration | ||||
| 
 | ||||
|   -- vim motion study | ||||
|   'ThePrimeagen/vim-be-good', | ||||
| 
 | ||||
|   -- Git related plugins | ||||
|   'tpope/vim-fugitive', | ||||
|   'tpope/vim-rhubarb', | ||||
|  | @ -218,8 +215,8 @@ require('lazy').setup({ | |||
|   -- NOTE: Next Step on Your Neovim Journey: Add/Configure additional "plugins" for kickstart | ||||
|   --       These are some example plugins that I've included in the kickstart repository. | ||||
|   --       Uncomment any of the lines below to enable them. | ||||
|   -- require 'kickstart.plugins.autoformat', | ||||
|   -- require 'kickstart.plugins.debug', | ||||
|   require 'kickstart.plugins.autoformat', | ||||
|   require 'kickstart.plugins.debug', | ||||
| 
 | ||||
|   -- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua` | ||||
|   --    You can use this folder to prevent any conflicts with this init.lua if you're interested in keeping | ||||
|  | @ -460,6 +457,9 @@ local servers = { | |||
|   -- tsserver = {}, | ||||
|   -- html = { filetypes = { 'html', 'twig', 'hbs'} }, | ||||
| 
 | ||||
|   -- requirement for https://github.com/olrtg/nvim-emmet | ||||
|     emmet_language_server = {}, | ||||
| 
 | ||||
|   lua_ls = { | ||||
|     Lua = { | ||||
|       workspace = { checkThirdParty = false }, | ||||
|  |  | |||
|  | @ -2,4 +2,10 @@ | |||
| --  I promise not to create any merge conflicts in this directory :) | ||||
| -- | ||||
| -- See the kickstart.nvim README for more information | ||||
| return {} | ||||
| return { | ||||
|   -- vim motion study | ||||
|   'ThePrimeagen/vim-be-good', | ||||
| 
 | ||||
|   --"surroundings": parentheses, brackets, quotes, XML tags, and more | ||||
|    'tpope/vim-surround', | ||||
| } | ||||
|  |  | |||
|  | @ -0,0 +1,7 @@ | |||
| return { | ||||
|     "olrtg/nvim-emmet", | ||||
| 
 | ||||
|     config = function() | ||||
|         vim.keymap.set({ "n", "v" }, '<leader>xe', require('nvim-emmet').wrap_with_abbreviation) | ||||
|     end, | ||||
| } | ||||
		Loading…
	
		Reference in New Issue