vimscript-language-server

  • 所有者: google/vimscript-language-server
  • 平台:
  • 许可证: Apache License 2.0
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Build Status

Vimscript Language Server

Implementation of Language Server protocol for vimscript / vimL language in
Rust.

This project is still in very early development stage - it does not support all
of vimscript syntax and most features are not implemented yet.

The long term goal is to implement vimscript AST that will allow for:

  • building language server
  • building vimscript formatter, that vim plugins could use in CI
  • building linter, that vim plugin could use in CI

The 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 vimscript.

Setup

Build

$ cargo build

Then, copy built binary to a location that is in your PATH.

Configure in vim-lsp

if executable('vimscript-language-server')
  au User lsp_setup call lsp#register_server({
          \ 'name': 'vimscript-language-server',
          \ 'cmd': {server_info->WrapLspTee(['vimscript-language-server'])},
          \ 'whitelist': ['vim'],
          \ })
endif

Contributing

See Contributing.md.


This is not an officially supported Google product

主要指标

概览
名称与所有者google/vimscript-language-server
主编程语言Rust
编程语言Rust (语言数: 3)
平台
许可证Apache License 2.0
所有者活动
创建于2020-08-04 08:22:47
推送于2024-12-09 20:52:56
最后一次提交2023-03-30 07:55:50
发布数0
用户参与
星数396
关注者数15
派生数15
提交数71
已启用问题?
问题数7
打开的问题数4
拉请求数4
打开的拉请求数2
关闭的拉请求数1
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?