plugins.lsp.servers.ltex.settings.java.initialHeapSize

Initial size of the Java heap memory in megabytes (corresponds to Java’s -Xms option, must be a positive integer).

Decreasing this might decrease RAM usage of the Java process.

Changes require restarting LTEX to take effect.

Type: null or unsigned integer, meaning >=0, or raw lua code

Default: null

Plugin default: 64

Declared by:

plugins.lsp.servers.ltex.settings.java.maximumHeapSize

Maximum size of the Java heap memory in megabytes (corresponds to Java’s -Xmx option, must be a positive integer).

Decreasing this might decrease RAM usage of the Java process. If you set this too small, the Java process may exceed the heap size, in which case an OutOfMemoryError is thrown.

Changes require restarting LTEX to take effect.

Type: null or unsigned integer, meaning >=0, or raw lua code

Default: null

Plugin default: 512

Declared by:

plugins.lsp.servers.ltex.settings.java.path

If set to an empty string, LTEX uses a Java distribution that is bundled with ltex-ls. You can point this setting to an existing Java installation on your computer to use that installation instead.

Use the same path as you would use for the JAVA_HOME environment variable (it usually contains bin and lib subdirectories, amongst others).

Changes require restarting LTEX to take effect.

Type: null or string or raw lua code

Default: null

Plugin default: ""

Declared by: