vimrc

My Vim configuration
git clone git://pcardenasb.com/vimrc
Log | Files | Refs | Submodules

emmet.vim (797B)


      1 let g:user_emmet_install_global = 0
      2 autocmd FileType html,css EmmetInstall
      3 let g:user_emmet_settings = {
      4 \  'variables': {'lang': 'en'},
      5 \  'html': {
      6 \    'default_attributes': {
      7 \      'option': {'value': v:null},
      8 \      'textarea': {'id': v:null, 'name': v:null, 'cols': 10, 'rows': 10},
      9 \      'img': {'loading': 'lazy'},
     10 \    },
     11 \    'snippets': {
     12 \      't': "<table>\n"
     13 \          ."\t<thead>\n"
     14 \          ."\t\t<tr>\n"
     15 \          ."\t\t\t<th scope=\"col\"></th>\n"
     16 \          ."\t\t\t<th scope=\"col\"></th>\n"
     17 \          ."\t\t</tr>\n"
     18 \          ."\t</thead>\n"
     19 \          ."\t<tbody>\n"
     20 \          ."\t\t<tr>\n"
     21 \          ."\t\t\t<th scope=\"row\"></th>\n"
     22 \          ."\t\t\t<td></td>\n"
     23 \          ."\t\t</tr>\n"
     24 \          ."\t</tbody>\n"
     25 \          ."</table>\n",
     26 \    },
     27 \  },
     28 \}