halfbrained / cuda_lsp

LSP Client plugin for CudaText
6 stars 4 forks source link

DialogEmmet 'module' #78

Closed Alexey-T closed 3 years ago

Alexey-T commented 3 years ago

In plugin Emmet I call autocompletion for line 159

            self.dlg = Dial|ogEmmet(do_expand_abbrev, self.insert_text_at_caret)

it shows 'DialogEmmet .................. module'. why 'module'?

halfbrained commented 3 years ago

It's just guessing I assume.

Probably because of a local import from .dlg_emmet import.... You need to point the server to the directory where the target file is -- CudaText-project's directory needs to be the directory of the plugin in this case