Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Vala Language Server Instructions #1693

Merged
merged 4 commits into from
May 28, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions docs/src/language_servers.md
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,26 @@ Follow installation instructions on [LSP-typescript](https://github.com/sublimel

Follow installation instructions on [LSP-vue](https://github.com/sublimelsp/LSP-vue).

## Vala
1. Install [Vala-TMBundle](https://github.com/technosophos/Vala-TMBundle) package to add Vala syntax highlighting and for Vala files to be reconginsed.
2. Install the [Vala Language Server](https://github.com/Prince781/vala-language-server)
colinkiama marked this conversation as resolved.
Show resolved Hide resolved
3. Add Vala Langauge Server to LSP settings:

```json
{
"clients": {
"vala-language-server": {
"command": [
"/path/to/vala-language-server"
],
"selector": "source.vala | source.genie",
},
},
colinkiama marked this conversation as resolved.
Show resolved Hide resolved
}
```
4. Enable the Vala Langauge Server for the project by going to `Tools > LSP > Enable Language Server In Project...`
5. For the server to fully understand your code, you will need to generate a `compile_commands.json` file or build your project with [meson] (https://mesonbuild.com/)
colinkiama marked this conversation as resolved.
Show resolved Hide resolved

## XML

Follow installation instructions on [LSP-lemminx](https://github.com/sublimelsp/LSP-lemminx).
Expand Down