Skip to content

yasuyk/ac-emmet

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

Synopsis

auto-complete sources for emmet-mode's snippets

Requirements

Installation

First, ensure auto-complete and emmet-mode are installed: I recommend using packages from Melpa.

You'll need both auto-complete and emmet-mode to be enabled and working, so please consult the corresponding documentation is you have any trouble with this.

Next, installac-emmet. If you choose not to use the convenient package in Melpa, you'll need to add the directory containing ac-emmet.el to your load-path, and then (require 'ac-emmet).

ac-emmet provides an emmet-specific completion source, so auto-complete needs to be told to use them when ac-emmet is active. To do this, put the following code in your emacs init file to

 (require 'ac-emmet) ;; Not necessary if using ELPA package
 (add-hook 'sgml-mode-hook 'ac-emmet-html-setup)
 (add-hook 'css-mode-hook 'ac-emmet-css-setup)

Usage

ac-emmet should now automatically be enabled when you visit a buffer in which emmet-mode is active and auto-complete is enabled. (The symbols "Emmet and "AC" should appear in the modeline.)

About

auto-complete sources for emmet-mode's snippets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published