Add JSON language server using my own SchemaStore.vim
This commit is contained in:
parent
d2e0026618
commit
2595cf03db
2 changed files with 15 additions and 0 deletions
|
@ -76,6 +76,19 @@ const lspServers = [
|
|||
install: 'npm install -g vim-language-server',
|
||||
},
|
||||
|
||||
{
|
||||
name: 'vscode-json-language-server',
|
||||
filetype: ['json', 'jsonc'],
|
||||
path: expand('~/.local/bin/vscode-json-language-server'),
|
||||
args: ['--stdio'],
|
||||
workspaceConfig: {json: {
|
||||
format: {enable: true},
|
||||
validate: {enable: true},
|
||||
schemas: g:SchemaStore#Schemata(),
|
||||
}},
|
||||
install: 'npm install -g vscode-langservers-extracted',
|
||||
},
|
||||
|
||||
{
|
||||
name: 'yaml-language-server',
|
||||
filetype: 'yaml',
|
||||
|
|
|
@ -42,7 +42,9 @@ minpac#add('tpope/vim-unimpaired')
|
|||
minpac#add('wincent/loupe')
|
||||
minpac#add('wincent/terminus')
|
||||
minpac#add('w0rp/ale')
|
||||
|
||||
minpac#add('yegappan/lsp')
|
||||
minpac#add('00dani/SchemaStore.vim')
|
||||
|
||||
minpac#add('vim-airline/vim-airline')
|
||||
minpac#add('vim-airline/vim-airline-themes')
|
||||
|
|
Loading…
Reference in a new issue