diff --git a/dot-config/vim/lsp/servers.vim b/dot-config/vim/lsp/servers.vim index f03a749..65593c8 100644 --- a/dot-config/vim/lsp/servers.vim +++ b/dot-config/vim/lsp/servers.vim @@ -12,6 +12,14 @@ const lspServers = [ 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', filetype: 'dockerfile', diff --git a/dot-config/vim/plugins.vim b/dot-config/vim/plugins.vim index 743d292..4ef9fbe 100644 --- a/dot-config/vim/plugins.vim +++ b/dot-config/vim/plugins.vim @@ -157,6 +157,11 @@ minpac#add('lambdalisue/fern-ssh') # vim-endwise for XML. Very nice to have when working on HTML documents. 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. minpac#add('Orange-OpenSource/hurl', {subdir: 'contrib/vim'})