Language Server Protocol implementation for Turtle and RDF
Project description
Turtle Language Server
This is a LSP server implementation for RDF graphs serialized as Turtle.
Install with: pip install turtle_language_server
With NeoVim and CoC
If you are using coc.nvim
, you can configure the language server as follows:
-
Make sure Vim correctly detects turtle files and sets the filetype. One way to achieve this is by adding the following line to your
.vimrc
orinit.nvim
:au BufRead,BufNewFile *.ttl set filetype=turtle
-
Modify your CoC settings to use the
turtle_language_server
when you open a Turtle file.- First, run
:CocConfig
or editcoc-settings.json
- Add the following (merge with existing keys in
"languageserver"
if needed):{ "languageserver": { "turtle": { "command": "turtle_langserver", "filetypes": ["ttl", "turtle"] } } }
- First, run
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for turtle-language-server-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 286e340362caa02ac945093dd1a6fca99afa6a3710e1e5933093682f907975f9 |
|
MD5 | 5b644d96160290e1bed49335a6bf6645 |
|
BLAKE2b-256 | 18ae66047f15502343b472be9240290b30356a2ca73409106ae72efee132ded0 |
Close
Hashes for turtle_language_server-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e663197b06197b73419b687d5a1f2e240bb5aac13698eea6ddd1b72e8f5ad707 |
|
MD5 | 6452898ec9231b75da59fee13a7ebac7 |
|
BLAKE2b-256 | 53a2cfaffeccc9345f6baaac1101e5476818c272cd6bb67b6dd9a46980425460 |