Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/google/vimscript-language-server
https://github.com/google/vimscript-language-server
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/google/vimscript-language-server
- Owner: google
- License: apache-2.0
- Created: 2020-08-04T08:22:47.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-30T05:56:10.000Z (over 1 year ago)
- Last Synced: 2024-06-02T05:37:48.907Z (4 months ago)
- Language: Rust
- Size: 119 KB
- Stars: 388
- Watchers: 18
- Forks: 15
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://github.com/google/vimscript-language-server/workflows/Rust/badge.svg)](https://github.com/google/vimscript-language-server/actions)
# Vim script Language Server
Implementation of Language Server protocol for Vim script / vimL language in
Rust.This project is still in very early development stage - it does not support all
of Vim script syntax and most features are not implemented yet.The long term goal is to implement Vim script AST that will allow for:
* building language server
* building Vim script formatter, that vim plugins could use in CI
* building linter, that vim plugin could use in CIThe next steps:
* perform additional analysis on AST (e.g. variable tracking), to allow for features like renaming,
* build a foundation for formatter,
* build a foundation for generic linter (so that custom checks can be added),
* support all syntax of Vim script.## Setup
### Build
```shell
$ cargo build
```Then, copy built binary to a location that is in your PATH.
### Configure in vim-lsp
```vim
if executable('vimscript-language-server')
au User lsp_setup call lsp#register_server({
\ 'name': 'vimscript-language-server',
\ 'cmd': {server_info->['vimscript-language-server']},
\ 'whitelist': ['vim'],
\ })
endif
```## Contributing
See [Contributing.md](CONTRIBUTING.md).
--------------------------------------------------------------------------------
This is not an officially supported Google product