GithubHelp home page GithubHelp logo

Comments (3)

weakish avatar weakish commented on July 28, 2024

LTEX_GLOBAL_STORAGE_PATH is a client side setting.
This concept is absent in the server side (ltex-ls).
ltex-ls itself will not read external dictionary files under LTEX_GLOBAL_STORAGE_PATH,
or any external dictionary files at all.
Therefore, ltex-ls does not care where LTEX_GLOBAL_STORAGE_PATH is,
or whether the client will read external dictionary files under LTEX_GLOBAL_STORAGE_PATH.

The client (editor/IDE) has to implement the logic itself, reading dictionary files in LTEX_GLOBAL_STORAGE_PATH, and send the word list to ltex-ls.
ltex-ls only cares about the word list sent from the client,
not how the client generate the word list.

For LTeX VSCode extension, LTEX_GLOBAL_STORAGE_PATH is ~/.local/share/ltex/ under unix. ~/.config/Code/User/globalStorage/valentjn.vscode-ltex/ under Linux.
If a dictionary file is put there, the LTeX VSCode extension will read word list from there.

from ltex-ls.

mawkler avatar mawkler commented on July 28, 2024

@weakish

For LTeX VSCode extension, LTEX_GLOBAL_STORAGE_PATH is ~/.local/share/ltex/ under unix.
If a dictionary file is put there, the LTeX VSCode extension will read word list from there.

Where is this implemented? When grepping for LTEX_GLOBAL_STORAGE_PATH I can't find anything in neither ltex-ls nor vsc**e-ltex.

from ltex-ls.

weakish avatar weakish commented on July 28, 2024

Sorry. I remembered it wrong. It's not ~/.local/share/ltex/ but ~/.config/Code/User/globalStorage/valentjn.vscode-ltex/.

from ltex-ls.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.