Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 622 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 622 Bytes

cmp-org-roam

nvim-cmp source for org-roam.nvim nodes.

Setup

None needed.

Configuration

After installing the package, just add 'org_roam' to the the list of nvim-cmp sources.

Suggested lazy.nvim configuration:

return { 
  'hrsh7th/nvim-cmp',
  event = 'InsertEnter',
  dependencies = {
    { 'sudo-burger/cmp-org-roam', dependencies = { 'chipsenkbeil/org-roam.nvim' } },
  },
  config = function()
    cmp =  require('cmp')
    cmp.setup.filetype('org', {
      sources = cmp.config.sources {
        { name = 'org_roam' },
      },
    })
  end,
}