Skip to content

gno-playground/LSP-gnols

Repository files navigation

LSP-gnols

This is a helper package that automatically installs and updates gnols for Sublime Text.

See Setting up Sublime Text 4 for Gno development for more information.

Requirements

To use this package, you must install the Gno, Terminus, and LSP packages.

Note

It's recommended, but not required, to install the LSP-json package which will provide auto-completion and validation for this package's settings.

You also need to have the gno binary installed. If the server can't find it on your $PATH, you'll need to manually specify its location in your settings:

{
    "settings": {
        "gno": "/path/to/gno"
    }
}

Configuration

There are multiple ways to configure the package and the language server.

  • Global configuration: Preferences > Package Settings > LSP > Servers > LSP-gnols

  • Project-specific configuration: from the Command Palette run Project: Edit Project and add your settings in:

    {
        "settings": {
            "LSP": {
                "LSP-gnols": {
                    "settings": {
                        // Put your settings here
                    }
                }
            }
        }
    }