Add nvim-cmp omni source for ledger files
parent
e032b5b803
commit
a56fe50c16
|
@ -75,6 +75,7 @@ return require("packer").startup({
|
|||
use("hrsh7th/cmp-buffer") -- Buffer source for nvim-cmp
|
||||
use("hrsh7th/cmp-path") -- Path source for nvim-cmp
|
||||
use("hrsh7th/cmp-nvim-lua") -- Nvim-Lua source for nvim-cmp
|
||||
use("hrsh7th/cmp-omni") -- omnifunc source for nvim-cmp
|
||||
use("hrsh7th/nvim-cmp") -- completion integration
|
||||
use("jose-elias-alvarez/null-ls.nvim") -- Linting and formatting
|
||||
|
||||
|
|
|
@ -56,3 +56,7 @@ cmp.setup({
|
|||
{ name = "buffer" },
|
||||
},
|
||||
})
|
||||
|
||||
cmp.setup.filetype("ledger", {
|
||||
sources = cmp.config.sources({ name = "omni" }),
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue