Skip to content

Latest commit

 

History

History
60 lines (40 loc) · 1.31 KB

README.md

File metadata and controls

60 lines (40 loc) · 1.31 KB

vim-gluon

Description

This is a vim plugin that provides gluon with

  • syntax highlighting
  • indentation

Language server support

The gluon language server has been tested to work with https://github.com/autozimu/LanguageClient-neovim and https://github.com/prabirshrestha/vim-lsp.

Example configuration (autozimu/LanguageClient-neovim)

let g:LanguageClient_serverCommands = {
    \ 'gluon': ['gluon_language-server'],
    \ }

" Automatically start language servers.
let g:LanguageClient_autoStart = 1

nnoremap <silent> K :call LanguageClient_textDocument_hover()<CR>
nnoremap <silent> gd :call LanguageClient_textDocument_definition()<CR>

Installation

Using Pathogen

git clone --depth=1 https://github.com/gluon-lang/vim-gluon.git ~/.vim/bundle/rust.vim

Using vim-plug

Plug 'gluon-lang/vim-gluon'

Features

syntax highlighting
indentation

License

MIT

Contributing

add an issue if you want to see something or if there is a bug
fork and create a PR if you want to add something