Bulma class-name completion source for nvim-cmp.
Entries updated per Bulma v0.9.4.
Using Packer:
use({
'garyhurtz/cmp_bulma.nvim',
config = function()
require('cmp_bulma'):setup()
end
})
then
require("cmp").setup({
sources = {
-- other sources...
{
name = "bulma",
option= {
-- insert configuration here
}
}
)
})
With lazy.nvim setup is something like:
require("lazy").setup({
{
"hrsh7th/nvim-cmp",
opts = {
sources = {
...
{
name = "bulma",
option = {
-- insert configuration here
},
},
},
},
},
{
'garyhurtz/cmp_bulma.nvim',
init = {
require('cmp_bulma'):setup()
}
}
})
By default, this source is available for the following file types:
-
html, jinja.html
-
css, sass, scss, less
-
javascript, typescript
Additional file types can be added using option.filetypes:
option = {
filetypes = {
"jinja.html",
"markdown",
...
},
}