uga-rosa / cmp-dictionary

A dictionary completion source for nvim-cmp
MIT License
236 stars 16 forks source link

[feature] support bidding filename and dict #21

Closed fcying closed 2 years ago

fcying commented 2 years ago

Currently, dict bindding to the file type. Can you add an option to specify the file name to use the corresponding dict? e.g.

filename = {
    ["xmake.lua" ] = { "xmake.dict", "lua.dict" }
}

Some special files, not use file type.

uga-rosa commented 2 years ago

done

fcying commented 2 years ago

It work fine, thanks~~