Update init.lua

This commit is contained in:
willsmanic 2023-01-09 11:30:06 +05:30 committed by GitHub
parent ce7de9ad8e
commit 7d07724698
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -125,10 +125,14 @@ vim.wo.signcolumn = 'yes'
vim.o.termguicolors = true
vim.cmd [[colorscheme onedark]]
-- Enable Emmet only for html and css
-- Enable Emmet only for web files
vim.g.user_emmet_install_global = 0
vim.cmd('autocmd FileType html,css,scss,sass,xml,jsx EmmetInstall')
-- remap the emmet leader key to tab
-- Note that the trailing , still needs to be entered, making the new key combo <Tab>,
vim.g.user_emmet_leader_key = '<Tab>'
-- Set completeopt to have a better completion experience
vim.o.completeopt = 'menuone,noselect'