Skip to content

gluon-lang/vim-gluon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%