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:
EGRrqq 2023-09-19 08:11:32 -05:00
parent da79e57e2a
commit 2e4ccafb32
3 changed files with 19 additions and 6 deletions

View File

@ -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 },

View File

@ -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',
}

View File

@ -0,0 +1,7 @@
return {
"olrtg/nvim-emmet",
config = function()
vim.keymap.set({ "n", "v" }, '<leader>xe', require('nvim-emmet').wrap_with_abbreviation)
end,
}