martineausimon / nvim-lilypond-suite

Neovim plugin for writing LilyPond scores, with asynchronous make, midi/mp3 player, fast syntax highlighting, "hyphenation" function, and support for LaTex and Texinfo files
GNU General Public License v3.0
130 stars 11 forks source link

Tripled entries in completion #11

Closed tomas0430 closed 1 year ago

tomas0430 commented 1 year ago

Completion shows triplicats.the same three entries in completion menu. I'm using your completion config. I have no idea how to fix this.

martineausimon commented 1 year ago

Yes, it's due to the new update of uga-rosa/cmp-dictionary, it is no longer necessary to define the paths to the dictionary files (which are already defined in nvim-lilypond-suite/ftplugin/lilypond.lua). the following lines are sufficient:

{ 
  'uga-rosa/cmp-dictionary',
  config = function() 
    require("cmp_dictionary").switcher({
      filetype = {
        lilypond
      },
    })
  end
},

I will correct the wiki this weekend!

tomas0430 commented 1 year ago

Now it works as intended.Thanks