gluon-lang / vim-gluon

Vim configuration for gluon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Vim configuration for gluon

License:MIT License


Languages

Language:Vim Script 100.0%