Skip to content
This repository was archived by the owner on May 8, 2026. It is now read-only.
This repository was archived by the owner on May 8, 2026. It is now read-only.

multiple instances of odoo_ls each time VIM is opened and correct configuration #7

@Cerebellum-ITM

Description

@Cerebellum-ITM

Sorry for opening an issue, but I didn't know how to contact you. I wanted to see if there was a way to initialize the language only if a configuration file is detected, or if it's done via a command. I'm very new to VIM, and this is my first time using a LS. Since every time I open an instance of Vim I see that an instance of the language is generated that quickly ends up using up my server's RAM, having to kill the Odools processes manually every time I exit an instance of Vim.

I'd also like to know the correct way to configure it. I've theoretically configured the addon as described in the readme, but I don't see the code imports disappearing until I export it: export PYTHONPATH=${PYTHONPATH}:/home/odoo_ce_17.

I understood that the purpose of configuring the addon routes was so that the imports would be resolved correctly. But I see that neither the stubs nor the addons work. It's worth noting that I'm working with a Dockerized system, but I understand that as long as I have access to the codebase, the LS should work. Or am I mistaken?

Again, sorry for opening this issue, but I'm very interested in properly configuring my work environment for Odoo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions