Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 705 Bytes

File metadata and controls

33 lines (25 loc) · 705 Bytes

Vim plugin for Valk language

https://github.com/valk-lang/valk

Install

Install using Plug

" set $VALK_ROOT to vimrc or .zshrc, can use this plugin tags dict
" au FileType valk let $VALK_ROOT = ~/path/to/valk

Plug 'angluca/valk.vim'

LSP setup

install lsp using Plug

Plug 'yegappan/lsp'

Then add this to your .vimrc

setl omnifunc=LspOmniFunc
au filetype valk call LspAddServer([#{
            \    name: 'valk',
            \    filetype: ['valk'],
            \    path: 'valk',
            \    args: ['lsp','run']
            \  }])

quickly compile and run use :make -r