neoclide / coc-emmet

Emmet extension for coc.nvim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"emmet.includeLanguages": {"markdown": "html"} does not work?

zhou13 opened this issue · comments

Here is my coc-settings.json:

{
    "suggest.timeout":  5000,
    "diagnostic.checkCurrentLine": true,
    "emmet.includeLanguages": {"markdown": "html", "c": "html"},
    "list.normalMappings": {
        "<C-c>": "do:exit"
    },
    "list.insertMappings": {
        "<C-c>": "do:exit"
    },
    "languageserver": {
        "ccls": {
            "command": "ccls",
            "filetypes": ["c", "cpp", "objc", "objcpp"],
            "rootPatterns": [".ccls", "compile_commands.json", ".vim/", ".git/", ".hg/"],
            "initializationOptions": {
                "cache": {
                    "directory": "/tmp/ccls"
                }
            }
        }
    }
}

Strangely, emmet works in *.c but not *.md. The filetype for *.md is markdown.

You need "emmet.excludeLanguages":[] since markdown is excluded by default.

I see. Thanks! Could you add that to README.md?