From 3c9b39353fc0c751763ab9ab25f8956dd7e3d927 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 16 Oct 2023 19:51:53 +0200 Subject: nvim: Get emmet-vim --- .config/nvim/after/ftplugin/html.lua | 1 + .config/nvim/lua/mango/packer.lua | 1 + .config/nvim/lua/mango/set.lua | 2 ++ 3 files changed, 4 insertions(+) diff --git a/.config/nvim/after/ftplugin/html.lua b/.config/nvim/after/ftplugin/html.lua index 50a85a4..1924056 100644 --- a/.config/nvim/after/ftplugin/html.lua +++ b/.config/nvim/after/ftplugin/html.lua @@ -1,3 +1,4 @@ local lib = require('mango.lib') +vim.cmd('EmmetInstall') lib.set_tab_width(2, true) diff --git a/.config/nvim/lua/mango/packer.lua b/.config/nvim/lua/mango/packer.lua index 7427e6d..83173ba 100644 --- a/.config/nvim/lua/mango/packer.lua +++ b/.config/nvim/lua/mango/packer.lua @@ -32,6 +32,7 @@ return require('packer').startup(function(use) use 'tpope/vim-commentary' use 'tpope/vim-speeddating' use 'tpope/vim-vinegar' + use 'mattn/emmet-vim' use { 'VonHeikemen/lsp-zero.nvim', diff --git a/.config/nvim/lua/mango/set.lua b/.config/nvim/lua/mango/set.lua index 6214a62..73f4dc6 100644 --- a/.config/nvim/lua/mango/set.lua +++ b/.config/nvim/lua/mango/set.lua @@ -59,3 +59,5 @@ api.nvim_create_autocmd('BufWinEnter', { -- This has to be done to enable linenumbers in netrw glo.netrw_bufsettings = 'noma nomod nu nobl nowrap ro' + +glo.user_emmet_install = false -- cgit v1.2.3