vimscript-language-server

  • Owner: google/vimscript-language-server
  • Platform:
  • License:: Apache License 2.0
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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

Main metrics

Overview
Name With Ownergoogle/vimscript-language-server
Primary LanguageRust
Program languageRust (Language Count: 3)
Platform
License:Apache License 2.0
所有者活动
Created At2020-08-04 08:22:47
Pushed At2024-12-09 20:52:56
Last Commit At2023-03-30 07:55:50
Release Count0
用户参与
Stargazers Count396
Watchers Count15
Fork Count15
Commits Count71
Has Issues Enabled
Issues Count7
Issue Open Count4
Pull Requests Count4
Pull Requests Open Count2
Pull Requests Close Count1
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private