Add CUE support (syntax and LSP integration)

This commit is contained in:
Danielle McLean 2024-12-17 16:12:17 +11:00
parent 0591df1423
commit 879b82105c
Signed by: 00dani
GPG key ID: 6854781A0488421C
2 changed files with 13 additions and 0 deletions

View file

@ -12,6 +12,14 @@ const lspServers = [
install: 'brew install clojure-lsp/brew/clojure-lsp-native', install: 'brew install clojure-lsp/brew/clojure-lsp-native',
}, },
{
name: 'cue-lsp',
filetype: 'cue',
path: '/usr/local/bin/cue',
args: ['lsp'],
install: 'brew install cue-lang/tap/cue',
},
{ {
name: 'dockerfile-langserver', name: 'dockerfile-langserver',
filetype: 'dockerfile', filetype: 'dockerfile',

View file

@ -157,6 +157,11 @@ minpac#add('lambdalisue/fern-ssh')
# vim-endwise for XML. Very nice to have when working on HTML documents. # vim-endwise for XML. Very nice to have when working on HTML documents.
minpac#add('alvan/vim-closetag') minpac#add('alvan/vim-closetag')
# Support for the CUE data language. CUE also provides an LSP, which Vim's
# configured to use, so this plugin is mostly relevant for syntax
# highlighting.
minpac#add('jjo/vim-cue')
# Hurlfile syntax from its official repository. # Hurlfile syntax from its official repository.
minpac#add('Orange-OpenSource/hurl', {subdir: 'contrib/vim'}) minpac#add('Orange-OpenSource/hurl', {subdir: 'contrib/vim'})