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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?