sublime-syntax-language-server
Language server and vim plugin for sublime-syntax and syntax-test's scope names.
sublime-syntax is a subtype of yaml. See json schema to get support of yaml language server.
- document hover
- completion
- diagnostic: requires syntest
For vim plugin:
- ftplugin: commentstring, etc
- compilers: bat, syntest
- syntax highlight, include incorrect header
Document Hover
Completion
Diagnostic
Compilers
Install
syntest
Build From Source
git clone --depth=1 https://github.com/trishume/syntect
cd syntect
cargo build --release --example syntest
sudo install -D target/release/examples/syntest -t /usr/local/bin
For Archlinux
yay -S syntest
Syntax Highlight
Every syntax test file should have a correct header. If you input a typo, syntax highlight will tell you:
If you input correct keyword of sublime syntax file, it will be highlighted as Keyword.
Note watch should be match and strings should be string:
More usages
Vim Plugin
You can use branch release to avoid downloading unnecessary files for vim plugin. Such as for dein.vim:
call dein#add('Freed-Wu/sublime-syntax-language-server', {
\ 'rev': 'release',
\ })
Metadata
Release files for sublime-syntax-language-server 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sublime-syntax-language-server-0.0.4.tar.gz | 50.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sublime_syntax_language_server-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 80.4 kB
Release files / sublime-syntax-language-server-0.0.4.tar.gz
| Download URL | sublime-syntax-language-server-0.0.4.tar.gz |
|---|---|
| Size | 50.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6c2de056c8c931c700e6fc5dc15ebf0cd4e7f35f91080a6b8cb801310023cb3b
|
|
BLAKE2b-256 checksum How to use checksums |
400e8c6ea966a52e5848ef28ec2077fbab3f839cb4445f514be04a29dde83033
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / sublime_syntax_language_server-0.0.4-py3-none-any.whl
| Download URL | sublime_syntax_language_server-0.0.4-py3-none-any.whl |
|---|---|
| Size | 29.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8acb79eeeb4c2a14c37a2cf7a7950f5939d383a8b6114c955ef30b2a41fdb8ea
|
|
BLAKE2b-256 checksum How to use checksums |
457e62f8eb01e9aa5e5b1b96be8c1da881bedb275259898f42f2fb8758310f6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|