summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-10-16 19:51:53 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-10-16 19:51:53 +0200
commit3c9b39353fc0c751763ab9ab25f8956dd7e3d927 (patch)
tree4e2a2a97dd4e6842299e8e099407e32b671ff236 /.config/nvim
parentdf2d726078e9411e25f8443318b6e7b6d3a159ff (diff)
nvim: Get emmet-vim
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/after/ftplugin/html.lua1
-rw-r--r--.config/nvim/lua/mango/packer.lua1
-rw-r--r--.config/nvim/lua/mango/set.lua2
3 files changed, 4 insertions, 0 deletions
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